DGG's Java notes

F:\j2sdk1.4.1_01\docs\api

F:\j2sdk1.4.1_01\docs\tooldocs\windows\java.html

java - the sun Java application launcher

java[w] [ options ] class | -jar file.jar [ argument … ]

javaw has no associated console window. Use to avoid a command prompt window.

-server | -client default
-cp class search path
-classpath class search path A ':' separated list of directories, JAR archives, and ZIP archives to search for class files.

-classpath .:/javalibr

-Dname=value set a system property

-verbose[:class|gc|jni]

-version:value require the specified version to run
-version
-showversion print product version and continue

-jre-restrict-search | -jre-no-restrict-search include/exclude user private JREs in the version search

-X help on non-standard options

-ea[:packagename...|:classname]

-enableassertions[:packagename...|:classname]
-disableassertions[:packagename...|:classname]
-esa | -enablesystemassertions
-dsa | -disablesystemassertions

-da[:packagename...|:classname]

-agentlib:libname[=] load native agent library libname, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:pathname[=options] load native agent library by full pathname
-javaagent:jarpath[=options] load Java programming language agent, see java.lang.instrument

-Xrs Reduces use of operating-system signals by the JVM, to implement shutdown hooks for abnormal JVM termination for

CTRL_BREAK_EVENT performs thread dumps.

If JVM running as a service CTRL_LOGOFF_EVENT should not initiate shutdown.
When the -Xrs option is used on Sun's JVM, the JVM does not install a console control handler, implying that it does not watch for or process CTRL_C_EVENT, CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT, or CTRL_SHUTDOWN_EVENT.

Additiona consequences of -Xrs: