Native Image Build Options

Depending on the GraalVM version, the options to the native-image builder may differ.

Macro Options

The --language:js --language:nodejs, --language:python, --language:ruby, --language:R, --language:wasm, --language:llvm, --language:regex (enables the Truffle Regular Expression engine) polyglot macro options become available once the corresponding languages are added to the base GraalVM JDK.

Non-standard Options

Run native-image --help-extra for non-standard options help.

Native Image options are also distinguished as hosted and runtime options.

Further Reading