Prerequisites for Starting Java Client Applications

The following prerequisites apply to custom Java client applications that use the administration or client APIs:

  • For custom Java client applications that use the administration or client APIs intended to work with XML processing, you must add the following JDK option to the JVM that starts the application:
    --add-opens=java.base/java.lang=ALL-UNNAMED
  • For custom Java applications that use the shared memory (SHM) functionality, you must add the following JDK options to the JVM that starts the application:
    --add-opens=java.base/sun.nio.ch=ALL-UNNAMED
    --add-opens=java.base/java.nio=ALL-UNNAMED

    For more information about shared memory, see Shared Memory (SHM) (Deprecated).