CustomStage icon indicating copy to clipboard operation
CustomStage copied to clipboard

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

Open LJWxyz opened this issue 4 years ago • 5 comments

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 avatar Apr 17 '20 03:04 LJWxyz

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

LJWxyz avatar Apr 17 '20 04:04 LJWxyz

V1.3.1 is outdated. Use v1.3.2

And which JDK version are you on?

Oshan96 avatar Apr 17 '20 05:04 Oshan96

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

LJWxyz avatar Apr 17 '20 06:04 LJWxyz

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

Oshan96 avatar Apr 17 '20 06:04 Oshan96

Ok, thank you ~

On Fri, Apr 17, 2020, 14:39 Oshan Mendis [email protected] 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 .

LJWxyz avatar Apr 17 '20 06:04 LJWxyz