Error: JFX not installed? Running openJDK7

Ash asherea2 at yahoo.com
Sat Jul 18 23:56:01 UTC 2015


I have Oracle's Java 8 JDK (downloaded it for the netbeans) and openJDK7 (installed standard). I am running linux mint 17 (ubuntu).

I made a default "hello world" JFX-enabled program in netbeans and compiled it as a test. Netbeans generates a functional "hello world" automatically when a new project is created so I didn't add or change anything. I know the error isn't in the program or the code inside because of this.

When I tried to load the compiled program in my browser via the auto-generated webpage, I got the "To view the content on this page, please click here to install JavaFX." error box and a link to Oracle's website. Trying to run the generated .jar resulted in the OpenJDK runtime launcher starting, but then vanishing as the file failed to load. Trying to run it on my computer via the .jnlp file with IcedTea failed and threw an error:
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet. 
    at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:754)
    at net.sourceforge.jnlp.Launcher.launchApplet(Launcher.java:660)
    at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:910)
Caused by: java.lang.ClassNotFoundException: com.javafx.main.NoJavaFXFallback
    at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1634)
    at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:744)
    ... 2 more

Shouldn't OpenJDK already have JFX included and active? If not, is this slated to change? In the meantime, is there a workaround?
Thank you!


More information about the openjfx-dev mailing list