Standard command-line options

The Eclipse OpenJ9™ virtual machine supports the standard Java™ options that are common to all Java virtual machine implementations, including Oracle's HotSpot VM. Some of the common options supported are summarised in the following table:

Standard option name Purpose
-classpath:<resource_name>[:<resource_name>] Sets the search path for application classes and resources (directories and compressed or .jar files). cp can be used instead of classpath.
-help, -? Prints a usage message.
-fullversion Prints the build and version information for a VM
-showversion Prints product version and continues.
-verbose:<option>[,<option>] Enables verbose output. Options include class, dynload, gc, init, jni, sizes, stack, and module. (See Notes)
-version Prints the full build and version information a VM

Notes:

For more information about standard options, see Oracle Java SE Standard Options

OpenJ9 extensions

OpenJ9 supports the following extension to the -verbose option: