Run JavaFx on Raspberry ClassNotFound

i try to start a jar on a raspberry pi. The jar is a gui application and it start a JavaFx stage.

I do all steps like here: but with the version 1.8.0_161.

Now i start the jar:

sudo /opt/jdk1.8.0_161/bin/java \ -Djava.ext.dirs=build/armv6hf-sdk/rt/lib/ext \ -jar Freelancer.jar

and receive the exception:

Exception in thread "main" java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(
    at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(
Caused by: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel
    at java.lang.ClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(

Have some one a idea what is happen here?

Thanks for your help!