Search code examples
graalvmgraalvm-native-image

Where is documentation of -H:... options of GraalVM native-image?


Substrate VM documentation on GitHub (e.g. CONFIGURE.md mentions multiple -H:... options like -H:ReflectionConfigurationResources or -H:ConfigurationFileDirectories. Where can reference documentation of these options be found? GraalVM Reference > Native Image gives just a basic overview.


Solution

  • Output of native-image --help suggests to call native-image --help-extra which suggests to call

    native-image --expert-options-all
    

    which prints documented list of options: https://gist.github.com/happylynx/ce642816411ee5c98f04fedd80f4c417.