You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
According to the GraalVM docs, you can compile Java code without a main method into a GraalVM native image shared library with a command like:
However, when I try to add:
to my
build.sbt
file then runGraalVMNativeImage/packageBin
, it just outputs:Here is my
build.sbt
:Here is my
project/plugins.sbt
:And here is the contents of the only non-test source file,
src/tla/Lib.java
:How can I get this to compile into a shared library? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions