Open
Description
native-image
can currently produce static or mostly static executables, except for object files loaded with System/loadLibrary
when using JNI. This makes it inconvenient to distribute binaries for applications where the user doesn't have the JNI library present on their system.
The only alternative appears to be to build GraalVM from source with library linked, but I would prefer a solution where I could tell native-image
a list of object files to statically link into the resulting binary.