Summary: | app-text/jabref-bin-4.0 fails to find java VM | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Felix Büttner <felixbuettner> |
Component: | Current packages | Assignee: | Nicolas Bock <nicolasbock> |
Status: | IN_PROGRESS --- | ||
Severity: | normal | CC: | gentoo, java, sci, vityokster |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Felix Büttner
2017-10-31 00:09:56 UTC
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. |