

Initialized such as the random number generator, the current pid,



If the java Main-Class is not specified on the command line itįetches the Main-Class name from the JAR's manifest.Establishes the environment variables such as LD_LIBRARY_PATH and CLASSPATH.Server) if these options are not explicitly specified on the Establish the heap sizes and the compiler type (client or.Load the appropriate VM library, others are passed to the VM using client or -server is used to determine and Options are consumed by the launcher itself, for example Parse the command line options, some of the command line.The launcher operations pertaining to VM startup are:
#Search for java processes mac windows#
There are several HotSpot VM launchers in the Java StandardĮdition, the general purpose launcher typically used is the javaĬommand on Unix and on Windows java and javaw commands, not to beĬonfused with javaws which is a network based launcher. Java launcher pertaining to the lifecyle of the HotSpot VM. The following sections gives an overview of the general purpose These are most often used for arguments that control memory Which are used a kilo-, mega-, or giga- multipliers for the number. Most all of the options that take an integer size value will Developer flags (the -XX flags) appear in only threeĭifferent forms: -XX:+ OptionName, -XX:- OptionName, and -XX: OptionName =. The method depends on the particular flag and its parsing Name from the data with a ‘ :’ or a ‘ =’ character. Passed in directly after the name of the flag without anyĭelineator, while for other flags you have to separate the flag That require additional data, there are a number of different Name indicates a true or false value, respectively. Values, the mere presence or lack of presence of a flag on theĬommand-line can control the value of the variables. The JVM, all of which have a type and a default value. These optionsĪre also subject to change without notice.Ĭommand-line flags control the values of internal variables in Parameters they are not recommended for casual use. Operation and may require privileged access to system configuration Options and often have specific system requirements for correct Implementations), and are subject to change without notice in Non-standard (not guaranteed to be supported on all JVM Standard options areĮxpected to be accepted by all JVM implementations and are stableīetween releases (though they can be deprecated). Non-standard options, and developer options. There are three main categories of options: standard options, Some are processed by the launcher and passed to the JVM, while Variables that can affect the performance characteristics of the There are a number of command-line options and environment Introduces key concepts associated with the major subsystems of the
