ThibautSF / ParadoxosModManagerRework

Software to manage mods for recent Paradox games, work in progress, Java 11
MIT License
64 stars 7 forks source link

Failure trying to compile - Linux Mint 19.3 #3

Closed cpeosphoros closed 4 years ago

cpeosphoros commented 4 years ago

Well, using Linux Mint 19.3 with both openjdk, openjfx and maven 3.6.0 (with all, hundreds, suggested packages) installed.

$ mvn package

gives

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
.
.
.

And all seems to go well after that.

Then

$ cd target
$ java -cp ParadoxosGameModManager-0.8.0.jar com.pmm.ParadoxosGameModManager.ModManager
Error: Could not find or load main class com.pmm.ParadoxosGameModManager.ModManager
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

What am I doing wrong?

ThibautSF commented 4 years ago

Didn't see this issue, sorry.

I made some major modifications for build (ie move to Gradle). Also I add a description in the Readme for build.

ThibautSF commented 4 years ago

With 0.8.0 release, can I close this issue @cpeosphoros ?

cpeosphoros commented 4 years ago

Sure