Error: JFX not installed? Running openJDK7
Tom Schindl
tom.schindl at bestsolution.at
Sun Jul 19 11:34:05 UTC 2015
Oh it is a bad idea to develop against JDK8 and then trying to run with
Java7!
Tom
On 19.07.15 13:28, Tom Schindl wrote:
> NO - Linux distros don't bundle JavaFX with they installs.
>
> Tom
>
> On 19.07.15 01:56, Ash wrote:
>> 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!
>>
>
>
--
Thomas Schindl, CTO
BestSolution.at EDV Systemhaus GmbH
Eduard-Bodem-Gasse 5-7, A-6020 Innsbruck
http://www.bestsolution.at/
Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck
More information about the openjfx-dev
mailing list