MegaDrumManagerFX on Ubuntu 19.04

Discussions of any related software

Moderator: Related software moderators

MegaDrumManagerFX on Ubuntu 19.04

Postby pettersundlof » Wed Aug 21, 2019 8:15 pm

Hi! I'm having some issues launching MegaDrumManagerFX.jar on Ubuntu 19.04.

I'm using OpenJDK 11.0.4 2019-07-16.

I get:

$ java -jar "MegaDrumManagerFX.jar"
Error: Could not find or load main class info.megadrum.managerfx.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

Any clues?

I also tried Oracle's JDK, same error:


java -jar MegaDrumManagerFX.jar
Error: Could not find or load main class info.megadrum.managerfx.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
petter@gunilla2:~/Skrivbord$ java --version
java 11.0.4 2019-07-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.4+10-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.4+10-LTS, mixed mode)
pettersundlof
 
Posts: 28
Joined: Wed Jul 24, 2019 8:36 am

Re: MegaDrumManagerFX on Ubuntu 19.04

Postby dmitri » Thu Aug 22, 2019 3:28 pm

Hm, runs fine for me with this java version:

dmitri@ubuntu:~$ java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) Client VM (build 25.131-b11, mixed mode)

Anybody else is having the same problem?
dmitri
Site Admin
 
Posts: 8283
Joined: Fri Aug 03, 2007 8:05 pm

Re: MegaDrumManagerFX on Ubuntu 19.04

Postby pettersundlof » Thu Aug 22, 2019 5:20 pm

Tried installing that version:

java -version
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~19.04.1-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

But: $ java -jar MegaDrumManagerFX.jar
Error: Could not find or load main class info.megadrum.managerfx.Main
pettersundlof
 
Posts: 28
Joined: Wed Jul 24, 2019 8:36 am

Re: MegaDrumManagerFX on Ubuntu 19.04

Postby pettersundlof » Thu Aug 22, 2019 5:37 pm

I've tried Googling this for the last half hour, and it seems to be an issue with how classpath is defined or something.

Anyhow, I'd very much appreciate any pointers if anyone's running this on a concurrent Linux system. My MegaDrum is finished but the huge amount of configurating I need to do will be a pain in the hardware UI :/
pettersundlof
 
Posts: 28
Joined: Wed Jul 24, 2019 8:36 am

Re: MegaDrumManagerFX on Ubuntu 19.04

Postby pettersundlof » Mon Aug 26, 2019 12:00 pm

I've now started an older computer with Ubuntu 18.04.3 and
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~18.04.1-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

and the same error:

$ java -jar MegaDrumManagerFX.jar
Error: Could not find or load main class info.megadrum.managerfx.Main
pettersundlof
 
Posts: 28
Joined: Wed Jul 24, 2019 8:36 am

Re: MegaDrumManagerFX on Ubuntu 19.04

Postby pettersundlof » Mon Aug 26, 2019 2:04 pm

Finally got it running on a very old Ubuntu version on an old partition, 14.04.3 and java
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) Server VM (build 25.66-b17, mixed mode)

I would like to get it launching on a modern installation also, though...
pettersundlof
 
Posts: 28
Joined: Wed Jul 24, 2019 8:36 am

Re: MegaDrumManagerFX on Ubuntu 19.04

Postby ignotus » Mon Aug 26, 2019 2:22 pm

I also had that same problem. There's no way I could get it to run using OpenJDK. Thing is, it's been some time since I sorted it out and I can't really remember how I did it other than by installing the Oracle version and uninstalling OpenJDK. I *think* I installed "Oracle Java(TM) Development Kit (JDK) 8" from the repos and then followed the instructions. I'm on Mint 19.1 but it uses the Ubuntu repos.
If it ain't broken... fix it until it is.
ignotus
 
Posts: 800
Joined: Sat Nov 24, 2007 11:36 am


Return to Related Software

Who is online

Users browsing this forum: No registered users and 18 guests