ParadoxosModManager icon indicating copy to clipboard operation
ParadoxosModManager copied to clipboard

Error on launch [0.6.1]

Open Shirethrone opened this issue 6 years ago • 8 comments

Hi,

I'm on Ubuntu 18.04 and cannot launch the ModManager. It always throws:

Error: Could not find or load main class application.ModManager

with Java 8, or

Error: Could not find or load main class application.ModManager Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

with java 10.

Which is strange, because ModManager.class is at the correct location within the .jar file. Help would be much appreciated

Shirethrone avatar Aug 27 '18 10:08 Shirethrone

I can confirm this. It used to work in Java 8, but some recent update broke it.

techsy730 avatar Apr 27 '19 19:04 techsy730

Do you have the jre version ?

ThibautSF avatar Apr 28 '19 08:04 ThibautSF

Tested and working on linux (Ubuntu 16.04) with 8u201 and 8u211

ThibautSF avatar Apr 28 '19 10:04 ThibautSF

Running 8u212 on linux (Arch 5.1.7), getting the same issue with application.ModManager not being found

NBurley93 avatar Jun 05 '19 14:06 NBurley93

Hi Looks like to be the same error from this issue : https://github.com/keeps/roda-in/issues/321

Can you try this solution ? : https://github.com/keeps/roda-in/issues/321#issuecomment-373406671

ThibautSF avatar Jun 05 '19 18:06 ThibautSF

Yeah, that did the trick. Forgot to install openjfx (package is java-openjfx for anyone using arch)

NBurley93 avatar Jun 05 '19 18:06 NBurley93

Ok, i will put that in the documentation (it could be useful)

ThibautSF avatar Jun 05 '19 18:06 ThibautSF

My 2cents: for 0.7.1 I have openJDK 13 installed plus javafx, but it still didnt want to start (classdef not found exception).

My (dirty?) workaround: copy the javafx 13 libs to PMM lib folder and start it with: java --module-path .\libs; --add-modules=javafx.controls -jar "%_CURRENT_FILE_DIR%\ParadoxosModManager.jar"

Maybe useful for someone in a similar situation.

ghost avatar Oct 27 '19 11:10 ghost