MegaDrumManagerFX, Ubuntu Studio and Java

Discussions of any related software

Moderator: Related software moderators

MegaDrumManagerFX, Ubuntu Studio and Java

Postby Gluv1 » Sat Nov 14, 2020 11:18 am

Hi all,

I'm using Ubuntu Studio-20.04.

I have downloaded MegaDrumManagerFX version is now 20200331 and allowed it to run as a program in Permissions.
I have installed Java version: OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04)
I right-click on the MegaDrumManagerFX.jar icon and select Open With "OpenJDK Java 11 Runtime"
Nothing happens.

I tried an earlier version of Java, namely "OpenJDK Java 8 Runtime". Still nothing.

Does anyone have any ideas what is wrong? Is an even earlier version of Java needed?
Gluv1
 
Posts: 22
Joined: Sat Nov 14, 2020 10:59 am

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby dmitri » Sat Nov 14, 2020 9:49 pm

What happens when you run it from a command line with?:
java -jar MegaDrumManagerFX.jar
dmitri
Site Admin
 
Posts: 8537
Joined: Fri Aug 03, 2007 8:05 pm

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby Gluv1 » Sun Nov 15, 2020 12:37 pm

Hi Dmitri,

I get: Error: Unable to access jarfile MegaDrumManagerFX.jar

If I put in the full path I get:

Error: Could not find or load main class info.megadrum.managerfx.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
Gluv1
 
Posts: 22
Joined: Sat Nov 14, 2020 10:59 am

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby dmitri » Sun Nov 15, 2020 11:39 pm

You need either to install JavaFX for OpenJDK 11 or install OpenJDK 10 alongside 11.
dmitri
Site Admin
 
Posts: 8537
Joined: Fri Aug 03, 2007 8:05 pm

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby Gluv1 » Mon Nov 16, 2020 5:35 pm

JavaFX when installed with OpenJDK 11 seems to do nothing and I can't find OpenJDK 10 anywhere.
Gluv1
 
Posts: 22
Joined: Sat Nov 14, 2020 10:59 am

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby dmitri » Mon Nov 16, 2020 8:36 pm

Did you copy JavaFX bin and lib to JAVA_HOME as per https://developer.tizen.org/development ... tion-guide ?
dmitri
Site Admin
 
Posts: 8537
Joined: Fri Aug 03, 2007 8:05 pm

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby dmitri » Mon Nov 16, 2020 9:21 pm

Or run it like this:
java --module-path /usr/share/openjfx/lib --add-modules javafx.controls,javafx.web -jar MegaDrumManagerFX.jar
dmitri
Site Admin
 
Posts: 8537
Joined: Fri Aug 03, 2007 8:05 pm

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby Gluv1 » Mon Nov 16, 2020 11:11 pm

dmitri wrote:Did you copy JavaFX bin and lib to JAVA_HOME as per https://developer.tizen.org/development ... tion-guide ?


I copied all the files in lib to JAVA_HOME. There is no bin file. I am using open JDK 11 not openJDK version12 as described on https://developer.tizen.org Would that make a difference?

I also signed up to try Oracle Java 11 but that doesn't work.
Last edited by Gluv1 on Mon Nov 16, 2020 11:27 pm, edited 1 time in total.
Gluv1
 
Posts: 22
Joined: Sat Nov 14, 2020 10:59 am

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby Gluv1 » Mon Nov 16, 2020 11:26 pm

dmitri wrote:Or run it like this:
java --module-path /usr/share/openjfx/lib --add-modules javafx.controls,javafx.web -jar MegaDrumManagerFX.jar

This gives Error: Unable to access jarfile MegaDrumManagerFX.jar

Must the Mega Drum module be connected for the manager to open?
Gluv1
 
Posts: 22
Joined: Sat Nov 14, 2020 10:59 am

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby ignotus » Tue Nov 17, 2020 7:40 am

Try Oracle's version of Java, I think I solved the same issue by doing that: https://www.java.com/en/download/. I can't be sure as it was a long time ago and now I can open MDMFX fine with OpenJDK in Mint.
If it ain't broken... fix it until it is.
ignotus
 
Posts: 835
Joined: Sat Nov 24, 2007 11:36 am

Next

Return to Related Software

Who is online

Users browsing this forum: No registered users and 20 guests

cron