The new JDK 1.8 includes a binary called javapackager. This binary is installed by default, but it has a dependency on /opt/oracle-jdk-bin-1.8.0.66/lib/ant-javafx.jar which is not installed by default. I was quite confused why this binary failed to work. After manually copying the file there it worked. Then I re-emerge with the appropriate flag activated, namely 'javafx'. I suggest that this binary will not be installed without these flags. Or that the ebuild will at least say something like: "JAVA 1.8 includes javapackager, with a run time dependency of the use flag javafx, if you would like to use this binary re-emerge this package with this flag enabled". Reproducible: Always Steps to Reproduce: 1. Install the package dev-java/oracle-jdk-bin-1.8.0.66 with the default use flags 2. call the binary /opt/oracle-jdk-bin-1.8.0.66/bin/javapackager. Actual Results: The binary fails to run showing the following error: Error: Could not find or load main class com.sun.javafx.tools.packager.Main Expected Results: The binary should show it's help, or produce some meaningful output.
Thanks. I hadn't realised they were shipping any JavaFX programs with the JDK. I'm pretty busy so since this isn't critical, I'll leave this till the next Oracle release, which will probably be in the next month or so.
Fix in -r1. I suspect a new release will come along soon so that this fix can go stable.