Problem in lunching program in REHL 5


#1

Hi

I have installed MEGAN ce but it not working on my system.
ERROR. log file
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

I have installed the oracle Jre but having problem in installing openJFX

[ils@localhost ~]$ rpm -qa| grep jdk
java-1.7.0-openjdk-1.7.0.181-2.6.14.5.el7.x86_64
java-1.8.0-openjdk-1.8.0.171-7.b10.el7.x86_64
java-1.7.0-openjdk-headless-1.7.0.181-2.6.14.5.el7.x86_64
copy-jdk-configs-3.3-10.el7_5.noarch
java-1.8.0-openjdk-headless-1.8.0.171-7.b10.el7.x86_64
java-1.8.0-openjdk-devel-1.8.0.171-7.b10.el7.x86_64
[ils@localhost ~]$ rpm -qa| grep jre
jre1.8-1.8.0_162-fcs.x86_64
[ils@localhost ~]$ rpm -qa| grep javafx
[ils@localhost ~]$

please let me know where I am wrong , suggest me a way to fix this problem.


#2

MEGAN requires the Oracle JDK (see other posts in this forum)