Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

TUMBLEWEED Running a JavaFX-requiring Java applet

$
0
0
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:

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

The applet is launched thusly:

Code:

env JAVA_HOME=/usr/lib64/jvm/jre-1.8.0-openjdk javaws.itweb qs.jnlp
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!

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>