I'm trying to run a java applet using openjdk 8 and icedtea. Unfortunately the app requires JavaFX and fails because it can't find it.
I've installed openjfx8 but it doesn't seem to make a difference:
The applet is launched thusly:
Everything works until the javafx-missing crash.
I guess my question is, is there a way to include javafx in my class path during javaws execution.
I've tried various arguments to javaws but it doesn't seem to be the way to go.
Thanks!
I've installed openjfx8 but it doesn't seem to make a difference:
Code:
java.lang.NoClassDefFoundError: javafx/application/Platform
at com.quotemedia.quotestream.C.C.E(Unknown Source)
at com.quotemedia.quotestream.C.C.doInBackground(Unknown Source)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: javafx.application.Platform
at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1644)
... 8 more
Code:
env JAVA_HOME=/usr/lib64/jvm/jre-1.8.0-openjdk javaws.itweb qs.jnlp
I guess my question is, is there a way to include javafx in my class path during javaws execution.
I've tried various arguments to javaws but it doesn't seem to be the way to go.
Thanks!