Class RuntimeSystemProperties

java.lang.Object
org.graalvm.nativeimage.hosted.RuntimeSystemProperties

public final class RuntimeSystemProperties extends Object
This class provides methods that can be called during native image generation to define system property setting for image runtime.
Since:
23.0
  • Method Details

    • register

      public static void register(String key, String value)
      Define a system property setting for image runtime. This ensures a given key has the given value at runtime even if no system property is set via command line of the image execution.
      Since:
      23.0