MEGAN6 Linux not starting

Hello friends

I just downloaded version 6_4_9 for unix 64 bits and installed it in my machine running Ubuntu 15.04. Installation is correct, but when launching the program it does not start. I do not get any error message. Could you hint me what to check to identify the issue?

Thanks a lot

Best
Javier

MEGAN requires the latest Oracle JRE (not OpenJDK), is that installed?

Nop, it was not. Now it’s working. Thanks a lot!

Another option is this command:

sudo apt-get install openjfx

Hi friends
Please teach me how to install openjfx to CentOS release 6.6. ‘sudo apt-get install openjfx’ does not work in CentOS and no package openjfx in yum.

Use the alternative of installing the latest Oracle Jre

Forgive my ignorance - but I am having the same issue. I installed the latest Oracle JRE using rpm, but the version is showing as:

openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

So it seems OracleJRE was not properly installed…

MEGAN error.log file contents

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:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 7 more

There are a lot of different java versions installed on my new machine that’s running CentOS7 - not sure how to proceed.

$ rpm -qa | grep java returns:

R-java-devel-3.3.2-3.el7.x86_64
java-1.6.0-openjdk-devel-1.6.0.41-1.13.13.1.el7_3.x86_64
java-1.6.0-openjdk-1.6.0.41-1.13.13.1.el7_3.x86_64
python-javapackages-3.4.1-11.el7.noarch
java-1.7.0-openjdk-1.7.0.121-2.6.8.0.el7_3.x86_64
java-1.8.0-openjdk-devel-1.8.0.121-0.b13.el7_3.x86_64
libvirt-java-0.4.9-4.el7.noarch
openoffice-javafilter-4.1.3-9783.x86_64
java-1.8.0-openjdk-headless-1.8.0.121-0.b13.el7_3.x86_64
java-1.7.0-openjdk-devel-1.7.0.121-2.6.8.0.el7_3.x86_64
java-1.7.0-openjdk-headless-1.7.0.121-2.6.8.0.el7_3.x86_64
libvirt-java-devel-0.4.9-4.el7.noarch
tzdata-java-2016j-1.el7.noarch
java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64
javapackages-tools-3.4.1-11.el7.noarch
R-java-3.3.2-3.el7.x86_64

I don’t see an Oracle JRE appear anywhere in your list…

You do not have to install Oracle java as part of your system, all you need to do is to unpack the java directory into a local directory and then point to the installation directory.

For example, on a linux server that I use I place the Oracle JDK here:

/home3/daniel/software/jdk1.8.0_60

In my .profile file the following line ensures that the correct java installation is then used:

export PATH=/home3/daniel/software/jdk1.8.0_60/bin:$PATH

Hope that helps

That worked, and other stuff that runs through java still works too! Thanks!

Hi MEGAN users,
I have some problem during the installtion of Megan 6, please take a look at the image attached.
I have already installed the Megan 5 without this problem.
How could I fix this problem?
Thanks

Do you have permission to install software on your computer?
Is your virus software preventing installation of the automatic updater?