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

Fix - uses show cli.nativeImage command to generate native image #1975

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

lwronski
Copy link
Contributor

Fixes #1972.

I was able to successfully build a native image on Ubuntu for the aarch64 using command:

./mill -i show cli.nativeImage

This fixed this error:

Exception in thread "main" java.lang.NoClassDefFoundError: com.oracle.svm.core.JavaMainWrapper
        at scala.cli.internal.Argv0.get(Argv0.scala:16)
        at scala.cli.ScalaCli$.<clinit>(ScalaCli.scala:28)
        at scala.cli.ScalaCli.main(ScalaCli.scala)

@lwronski lwronski merged commit f86e7cd into VirtusLab:main Mar 30, 2023
@Gedochao Gedochao added the bug Something isn't working label Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NoClassDefFoundError since version 0.2.0 when using aarch64 Linux
2 participants