Error loading files to MEGAN 6

Hi there!

I have recently started using MEGAN and I like it so far, very neat software!

I have just installed version 6 and I get the following error each time I try to load my data (.daa paired end reads from DIAMOND blastx):

Exception in thread “JavaFX Application Thread” java.lang.NoClassDefFoundError: javafx/scene/control/ButtonBar
at org.controlsfx.control.Notifications$NotificationPopupHandler.show(Notifications.java:343)
at org.controlsfx.control.Notifications$NotificationPopupHandler.show(Notifications.java:316)
at org.controlsfx.control.Notifications.show(Notifications.java:262)
at megan.fx.NotificationsInSwing$1.run(NotificationsInSwing.java:204)
at com.sun.javafx.application.PlatformImpl.lambda$null$164(PlatformImpl.java:292)
at com.sun.javafx.application.PlatformImpl$$Lambda$76/530690485.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$165(PlatformImpl.java:291)
at com.sun.javafx.application.PlatformImpl$$Lambda$75/2010352599.run(Unknown Source)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$null$45(GtkApplication.java:126)
at com.sun.glass.ui.gtk.GtkApplication$$Lambda$67/1471082565.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: javafx.scene.control.ButtonBar
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 14 more

I have tried converting the files to .m8 and they work okay in MEGAN 5. Any idea what the error is and how to fix it?

Thanks,
Nsa

What OS are you running on? This looks like a Linux error. For MEGAN6 to run smoothly on linux, please install and use the latest Oracle JRE. You can install the JRE locally and then set the environmental variable INSTALL4J_JAVA_HOME_OVERRIDE to point to your local JRE installation. Then MEGAN6 should work. (It uses JavaFX, which is not present in older versions of Java and is also sometimes problematic with OpenJDK).

Thank you for your prompt response Daniel!
I am running it on Linux and we were using OpenJDK.
Updating to Oracle resolved the issue, also increasing the memory size helped tremendously (we had set it at 1.9G initially).

Thanks once again.
Best,
Nsa

Hi,

Updating to Oracle jre also solved my identical issue on Ubuntu 16.04.

Thanks