--list-modules | Lists the observable modules and then exits. | help + man |
--dry-run | create VM and load main class but do not execute main method. | help + man |
--validate-modules | validate all modules and exit The --validate-modules option may be useful for finding conflicts and other errors with modules on the module path. | help + man |
-D name>=<value | set a system property | help |
-verbose class|module|gc|jni | enable verbose output for the given subsystem | help |
-version | Prints product version to the error stream and exits. | help + man |
--version | Prints product version to the output stream and exits. | help + man |
-showversion | Prints the product version to the error stream and continues. | help + man |
--show-version | Prints the product version to the output stream and continues. | help + man |
--show-module-resolution | Shows module resolution output during startup. | help + man |
--help | Prints the help message to the output stream. | help + man |
-X | Prints the help on extra options to the error stream. | help + man |
--help-extra | Prints the help on extra options to the output stream. | help + man |
-ea :<packagename>...|:<classname | | help |
-enableassertions :<packagename>...|:<classname | enable assertions with specified granularity | help |
-da :<packagename>...|:<classname | | help |
-disableassertions :<packagename>...|:<classname | disable assertions with specified granularity | help |
-agentlib libname>[=<options | load native agent library <libname>, e.g. -agentlib:jdwp see also -agentlib:jdwp=help | help |
-agentpath pathname>[=<options | load native agent library by full pathname | help |
-javaagent jarpath>[=<options | load Java programming language agent, see java.lang.instrument | help |
-splash imagepath | show splash screen with specified image HiDPI scaled images are automatically supported and used if available. | help |
-disable-@files | prevent further argument file expansion | help |
--enable-preview | Allows classes to depend on preview features [https://docs.oracle.com/en/java/javase/12/language/index.html#JSLAN-GUID-5A82FE0E-0CA4-4F1F-B075-564874FE2823] of the release. | help + man |
--class-path, -classpath, -cp classpath | A semicolon (;) separated list of directories, JAR archives, and ZIP archives to search for class files. (in the manual page but not in --help) | man |
--disable-@files | Can be used anywhere on the command line, including in an argument file, to prevent further @filename expansion. (in the manual page but not in --help) | man |
--module-path, -p modulepath... | A semicolon (;) separated list of directories in which each directory is a directory of modules. (in the manual page but not in --help) | man |
--upgrade-module-path modulepath... | A semicolon (;) separated list of directories in which each directory is a directory of modules that replace upgradeable modules in the runtime image. (in the manual page but not in --help) | man |
-d, --describe-module module_name | Describes a specified module and then exits. (in the manual page but not in --help) | man |
-Dproperty value | Sets a system property value. (in the manual page but not in --help) | man |
-disablesystemassertions, -dsa | Disables assertions in all system classes. (in the manual page but not in --help) | man |
-enablesystemassertions, -esa | Enables assertions in all system classes. (in the manual page but not in --help) | man |
-help, -h, -? | Prints the help message to the error stream. (in the manual page but not in --help) | man |
-Xbatch | Disables background compilation. (in the manual page but not in --help) | man |
-Xdebug | Does nothing. (in the manual page but not in --help) | man |
-Xdiag | Shows additional diagnostic messages. (in the manual page but not in --help) | man |
-Xint | Runs the application in interpreted-only mode. (in the manual page but not in --help) | man |
-Xinternalversion | Displays more detailed JVM version information than the -version option, and then exits. (in the manual page but not in --help) | man |
-Xmixed | Executes all bytecode by the interpreter except for hot methods, which are compiled to native code. (in the manual page but not in --help) | man |
-Xmn size | Sets the initial and maximum size (in bytes) of the heap for the young generation (nursery) in the generational collectors. (in the manual page but not in --help) | man |
-Xms size | Sets the minimum and initial size (in bytes) of the heap. (in the manual page but not in --help) | man |
-Xmx size | Specifies the maximum size (in bytes) of the heap. (in the manual page but not in --help) | man |
-Xnoclassgc | Disables garbage collection (GC) of classes. (in the manual page but not in --help) | man |
-Xrs | Reduces the use of operating system signals by the JVM. (in the manual page but not in --help) | man |
-XshowSettings | Shows all settings and then continues. (in the manual page but not in --help) | man |
-Xss size | Sets the thread stack size (in bytes). (in the manual page but not in --help) | man |
--add-reads module=target-module( | Updates module to read the target-module, regardless of the module declaration. (in the manual page but not in --help) | man |
--add-exports module/package=target-module( | Updates module to export package to target-module, regardless of module declaration. (in the manual page but not in --help) | man |
--add-opens module/package=target-module( | Updates module to open package to target-module, regardless of module declaration. (in the manual page but not in --help) | man |
--patch-module module=file(;file) | Overrides or augments a module with classes and resources in JAR files or directories. (in the manual page but not in --help) | man |
--source version | Sets the version of the source in source-file mode. (in the manual page but not in --help) | man |
-XstartOnFirstThread | Runs the main() method on the first (AppKit) thread. (in the manual page but not in --help) | man |
-Xfuture | Enables strict class-file format checks that enforce close conformance to the class-file format specification. (in the manual page but not in --help) | man |
--illegal-access parameter | Controlled relaxed strong encapsulation, as defined in JEP 261 [https://openjdk.java.net/jeps/261#Relaxed-strong-encapsulation]. (in the manual page but not in --help) | man |