Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
buyvtuygJW opened this issue Apr 17, 2020 · 5 comments
Assignees

Comments

@buyvtuygJW
Copy link

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 .......

@buyvtuygJW
Copy link
Author

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
Copy link
Owner

Oshan96 commented Apr 17, 2020

V1.3.1 is outdated. Use v1.3.2

And which JDK version are you on?

@buyvtuygJW
Copy link
Author

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

@Oshan96
Copy link
Owner

Oshan96 commented Apr 17, 2020

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 Oshan96 self-assigned this Apr 17, 2020
@buyvtuygJW
Copy link
Author

buyvtuygJW commented Apr 17, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants