MegaDrumManagerFX, Ubuntu Studio and Java

Discussions of any related software

Moderator: Related software moderators

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby Gluv1 » Tue Nov 17, 2020 10:13 am

Hi Ignotus,

I tried Oracle's version 11, based on what you had written on a earlier thread, but it doesn't work.
Gluv1
 
Posts: 22
Joined: Sat Nov 14, 2020 10:59 am

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby Gluv1 » Tue Nov 17, 2020 10:25 am

Is there a "Install MegaDrumManagerFX on Linux for dummies?"

This is the error I am getting:

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 » Tue Nov 17, 2020 7:12 pm

Gluv1 wrote:
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?

You either must copy MegaDrumManagerFX.jar to the dir where you run the command from or give it a full path to MegaDrumManagerFX:
java --module-path /usr/share/openjfx/lib --add-modules javafx.controls,javafx.web -jar /full/path/to/MegaDrumManagerFX.jar
dmitri
Site Admin
 
Posts: 8654
Joined: Fri Aug 03, 2007 8:05 pm

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby Gluv1 » Tue Nov 17, 2020 7:29 pm

Thanks Dmitri, but this gives:

gluv:~$ java --module-path /usr/share/openjfx/lib --add-modules javafx.controls,javafx.web -jar /home/gluv/Desktop/Apps/MegaDrumManagerFX.jar
Unrecognized option: --module-path
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
gluv:~$


I really need step by step instructions.
Gluv1
 
Posts: 22
Joined: Sat Nov 14, 2020 10:59 am

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby dmitri » Tue Nov 17, 2020 10:24 pm

Did you install older java version?
What dos 'java -version' show now?
If it now shows '1.8...' run the command just as:
java -jar /home/gluv/Desktop/Apps/MegaDrumManagerFX.jar
dmitri
Site Admin
 
Posts: 8654
Joined: Fri Aug 03, 2007 8:05 pm

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby Gluv1 » Tue Nov 17, 2020 10:52 pm

It works!!


gluv:~$ sudo update-alternatives --config java
There are 4 choices for the alternative java (providing /usr/bin/java).

Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 auto mode
* 1 /opt/jdk/jre1.8.0_271/bin/java 100 manual mode
2 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 manual mode
3 /usr/lib/jvm/java-11-oracle/bin/java 1091 manual mode
4 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode

Press <enter> to keep the current choice[*], or type selection number:
gluv:~$ java -version
java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
gluv:~$ java -jar /home/gluv/Desktop/Apps/MegaDrumManagerFX.jar


jre1.8.0_271 came from here: https://www.java.com/en/download/linux_manual.jsp
It's available without having to create an Oracle account.
I installed it by adapting the instructions on this page: https://www.digitalocean.com/community/ ... ubuntu-vps



I just need to tidy things up now and see if I can start it from the GUI. But it works, so great, Thanks.
Gluv1
 
Posts: 22
Joined: Sat Nov 14, 2020 10:59 am

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby dmitri » Tue Nov 17, 2020 11:25 pm

You manage to run it, great! You still should be able to run it with openjdk 11 and openjfx 11:
Screenshot 2020-11-17 231350 - resized.png
You do not have the required permissions to view the files attached to this post.
dmitri
Site Admin
 
Posts: 8654
Joined: Fri Aug 03, 2007 8:05 pm

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby ibanman555 » Fri Jan 08, 2021 6:32 pm

I would like to know how to remember window position of Megadrum Manager FX in Linux, specifically Linux Mint 20 in my case. Each time the software is opened, the main window is not maximized, and would like it to be. Additionally, I like to have the detached midi log window maxed on a second monitor, it opens as a sliver and needs to be resized and moved upon opening the software each time. I did attempt to use Compiz Config Settings Manager to set up the windows but it doesn't appear to lock MDMFX window sizes for me. Any insight? Thanks
ibanman555
 
Posts: 276
Joined: Sat Jan 28, 2012 8:44 pm
Location: Upstate New York (Adirondacks)

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby Gluv1 » Tue Mar 02, 2021 9:37 am

...the main window is not maximized, and... the detached midi log... opens as a sliver and needs to be resized and moved upon opening the software each time


Mine does exactly that, except for a short time when it opened with the main window and the midi panel maximised. Problem is I don't know what changed to make it open one way or the other.

Edit:
It might be Main > Options > Misc tab > Save options on exit
If the detached midi panel is maximised on exiting MDMFX, it all should restart in the same way.
Last edited by Gluv1 on Wed Mar 03, 2021 5:41 pm, edited 3 times in total.
Gluv1
 
Posts: 22
Joined: Sat Nov 14, 2020 10:59 am

Re: MegaDrumManagerFX, Ubuntu Studio and Java

Postby Gluv1 » Tue Mar 02, 2021 9:44 am

Anyway back to Java. Following an attempted update from Java 8, MGMFX has stopped loading again.

Does MGMFX work with the latest versions of Java based on Java 15?
Do OpenJDK 15 and OpenJFX 15 work, or must it be JDK and JFX versions 11 or earlier?
What's the difference between JDK and JFX and are both needed?
Is it OK to use Open JDK/JFX or must it be the Oracle version?
Are there any step by step instructions on how to install these softwares so that MGMFX works?
Gluv1
 
Posts: 22
Joined: Sat Nov 14, 2020 10:59 am

PreviousNext

Return to Related Software

Who is online

Users browsing this forum: Google [Bot] and 29 guests

cron