Oshan96 / CustomStage

A JavaFX UI framework to create fully customized undecorated windows
Apache License 2.0
199 stars 18 forks source link

unable to load the jar as module to run,compiled with the same setting. #14

Open LJWxyz opened 4 years ago

LJWxyz commented 4 years ago

Unable to derive module descriptor for E:\Coding\JavaRuntimeAsset\CustomStage\CustomStage-v1.3.1.jar

set CustomStage="%cd%\JavaRuntimeAsset\CustomStage\CustomStage-v1.3.1.jar"

compile:javac -verbose --module-path ......;%CustomStage% --add-modules ALL-MODULE-PATH ........

run it:java ....... --module-path .......;%CustomStage% --add-modules ALL-MODULE-PATH .......

LJWxyz commented 4 years ago

i remove it from module path it can run, but the moment it uses the custom stage java.lang.NoClassDefFoundError: lk.vivoxalabs.customstage.CustomStageBuilder

Oshan96 commented 4 years ago

V1.3.1 is outdated. Use v1.3.2

And which JDK version are you on?

LJWxyz commented 4 years ago

I use adopt openjdk14 openj9. Sorry i manage dependency manually. Didn't use maven.

Oshan96 commented 4 years ago

It would generally support maven or added it as a jar to your libraries if you used any kind of IDE. But I, myself haven't tested adding this as a dependency manually, compile time.

And also, this isn't tested for JDK14

LJWxyz commented 4 years ago

Ok, thank you ~

On Fri, Apr 17, 2020, 14:39 Oshan Mendis notifications@github.com wrote:

It would generally support maven or added it as a jar to your libraries if you used any kind of IDE. But I, myself haven't tested adding this as a dependency manually, compile time.

And also, this isn't tested for JDK14

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Oshan96/CustomStage/issues/14#issuecomment-615071633, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRBQXJBNROM2IJEJ5TEJUTRM72RNANCNFSM4MKNPTEQ .