comparison paste/paste.30008 @ 0:e037173e0012

Initial import.
author HackBot
date Thu, 16 Feb 2012 19:42:32 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e037173e0012
1 Usage: java [-options] class [args...]
2 (to execute a class)
3 or java [-options] -jar jarfile [args...]
4 (to execute a jar file)
5 where options include:
6 -d32 use a 32-bit data model if available
7 -d64 use a 64-bit data model if available
8 -server to select the "server" VM
9 The default VM is server.
10
11 -cp <class search path of directories and zip/jar files>
12 -classpath <class search path of directories and zip/jar files>
13 A : separated list of directories, JAR archives,
14 and ZIP archives to search for class files.
15 -D<name>=<value>
16 set a system property
17 -verbose[:class|gc|jni]
18 enable verbose output
19 -version print product version and exit
20 -version:<value>
21 require the specified version to run
22 -showversion print product version and continue
23 -jre-restrict-search | -jre-no-restrict-search
24 include/exclude user private JREs in the version search
25 -? -help print this help message
26 -X print help on non-standard options
27 -ea[:<packagename>...|:<classname>]
28 -enableassertions[:<packagename>...|:<classname>]
29 enable assertions with specified granularity
30 -da[:<packagename>...|:<classname>]
31 -disableassertions[:<packagename>...|:<classname>]
32 disable assertions with specified granularity
33 -esa | -enablesystemassertions
34 enable system assertions
35 -dsa | -disablesystemassertions
36 disable system assertions
37 -agentlib:<libname>[=<options>]
38 load native agent library <libname>, e.g. -agentlib:hprof
39 see also, -agentlib:jdwp=help and -agentlib:hprof=help
40 -agentpath:<pathname>[=<options>]
41 load native agent library by full pathname
42 -javaagent:<jarpath>[=<options>]
43 load Java programming language agent, see java.lang.instrument
44 -splash:<imagepath>
45 show splash screen with specified image
46 See http://java.sun.com/javase/reference for more details.