Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Readme says it doesn't work?

'mvn install works with $JAVA_HOME set to a Graal JDK (tested with 22.3).

--native-image works with the current development build (23.0.0), but-- bugs out with the current release version.

native-image doesn't yet do what it should.'



It works fine as a jar file, native-image produces an executable that can run without an external JRE.

I'm still trying to figure out how to embed the native dependency libraries into that executable.

You can build the binary (with the dev version - 23.0.0) and it will run from the target directory (because the dependencies are available in ./resources/languages/llvm/native/lib), but it won't run from anywhere else.

I'm still trying to figure out what's missing from my native-image build command.

But if you're happy with just running it as a (platform dependent) jar, there's no problem.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: