Cannot open MEGAN6 on CentOS 6.8 (jre-1.8)

Hi I installed MEGAN and it went through successfully. I did not make the symlinks because we use module system. When I try to run it from the installation directory I get:

[siavoa01@phoenix2 ~$ module add jre/1.8
[siavoa01@phoenix2 ~$ /local/apps/megan/MEGAN
MEGAN fatal error:
java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
Caught:
java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
at megan.main.Megan6.main(Megan6.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65)
at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57)
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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 7 more

Would you please help?
Thanks

Hi,
are you sure you’re using the oracle java?

regards,
Ania

It is the java native to CentOS 6. Shall I install oracle java? Is there a compatibility flag?

Please see other conversations on this forum:
http://megan.informatik.uni-tuebingen.de/t/megan6-linux-not-starting/127/4