I'm in the progress of upgrading my project to Java 9 due to Eclipse upgrade breaking APT in Java < 9 when working with Dagger 2.
I used to generate binary css files (bss) with the following command (which worked perfectly fine until Java 9):
$ javapackager -createbss -srcdir src/main/resources/view/ -outdir src/main/resources/view/
However after upgrading to Java 9 it errors out with:
Error: jfxrt.jar needs to be on classpath for -createbss and for -createJar without -nocss2bin
Looking around I see that the jfxrt.jar
is no longer present in my JDK 9 install. A google search finds JavaFX 9 - New and Noteworthy - RainFocus[PDF] where it says:
No more jfxrt.jar, it's baked into the JVM image
Has any one been able to generate bss files after upgrading to Java 9?