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

jvm: add FuzionOptions to jar file when using -jar target #3783

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

fridis
Copy link
Member

@fridis fridis commented Sep 12, 2024

Otherwise, I see this

 > make run_tests_jar
rm -rf build/tests
mkdir -p build
cp -rf ./tests build/tests
chmod +x build/tests/*.sh
Exception in thread "Fuzion thread" java.lang.NoClassDefFoundError: dev/flang/util/FuzionOptions
	at dev.flang.util.Errors.<clinit>(Errors.java:63)
	at dev.flang.be.jvm.runtime.FuzionThread.lambda$new$2(FuzionThread.java:116)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.ClassNotFoundException: dev.flang.util.FuzionOptions

Otherwise, I see this

     > make run_tests_jar
    rm -rf build/tests
    mkdir -p build
    cp -rf ./tests build/tests
    chmod +x build/tests/*.sh
    Exception in thread "Fuzion thread" java.lang.NoClassDefFoundError: dev/flang/util/FuzionOptions
    	at dev.flang.util.Errors.<clinit>(Errors.java:63)
    	at dev.flang.be.jvm.runtime.FuzionThread.lambda$new$2(FuzionThread.java:116)
	at java.base/java.lang.Thread.run(Thread.java:1583)
    Caused by: java.lang.ClassNotFoundException: dev.flang.util.FuzionOptions
@michaellilltokiwa michaellilltokiwa merged commit b93a6f5 into main Sep 13, 2024
5 checks passed
@maxteufel maxteufel deleted the jvm_add_FuzionOptions_to_jar branch September 16, 2024 10:43
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

Successfully merging this pull request may close these issues.

2 participants