After upgrading to version 4.0, I get the following error when trying to start jabref-bin: Traceback (most recent call last): File "/usr/lib/python-exec/python2.7/gjl", line 115, in <module> vm = get_vm(pkg) File "/usr/lib/python-exec/python2.7/gjl", line 33, in get_vm return verman.get_vm(pkg.query('VM')) File "/usr/lib64/python2.7/site-packages/java_config_2/VersionManager.py", line 237, in get_vm low = self.get_lowest(atoms) # Lowest vm version we can use File "/usr/lib64/python2.7/site-packages/java_config_2/VersionManager.py", line 184, in get_lowest lowest = self.get_lowest_atom(atoms) File "/usr/lib64/python2.7/site-packages/java_config_2/VersionManager.py", line 180, in get_lowest_atom raise Exception("Couldn't find a VM dep") Exception: Couldn't find a VM dep Couldn't get needed information The problem does not exist in version 3.8.2.
Nicolas, did you test this? The Gentoo Java infrastructure needs that virtual dependency or failing that, JAVA_PKG_WANT_TARGET=1.8. This is so that java-config can check whether the selected JVM is sufficient at runtime. Unfortunately it isn't smart enough to deal with USE flags at the moment so if you have icedtea-bin-8 selected or installed Oracle without the javafx USE flag then it'll blow up. This issue has been known for a long time.
(In reply to James Le Cuirot from comment #1) > Nicolas, did you test this? The Gentoo Java infrastructure needs that > virtual dependency or failing that, JAVA_PKG_WANT_TARGET=1.8. This is so > that java-config can check whether the selected JVM is sufficient at > runtime. Unfortunately it isn't smart enough to deal with USE flags at the > moment so if you have icedtea-bin-8 selected or installed Oracle without the > javafx USE flag then it'll blow up. This issue has been known for a long > time. Yes, I am running it myself. Sorry, I wasn't aware of the javafx issue there. I have added JAVA_PKG_WANT_TARGET=1.8 to the package.
Please let me know if that fixed the package for you.
I have rebuilt the package with JAVA_PKG_WANT_TARGET=1.8 but the error still persists. I use oracle-jdk-bin with javafx use flag on.
As discussed on IRC, I wasn't 100% sure whether this was the right variable. I'll figure it out tonight.
I was able to reproduce the issue straight away. Unfortunately that variable doesn't help and there actually isn't one you can use currently. I'll see what I can do.