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: https://wimdeblauwe.wordpress.com/2017/08/26/using-javafx-on-raspberry-pi-3-with-gluon/ 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(Class.java:348)
    at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
Caused by: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

Have some one a idea what is happen here?

Thanks for your help!