annotate paste/paste.30008 @ 11293:a7899ef2d7b6

<wob_jonas> learn Aristotle said that every illness can be cured by balancing the four vitreous humors, and everyone believed him for two thousand years, even though people still died of illnesses. It wasn\'t until the 20th century that Szent-Gy\xc3\xb6rgyi Albert realized that Aristotle didn\'t find fifth kind of vitreous humor, vitamin C, because the Greek alphabet
author HackBot
date Mon, 01 Jan 2018 17:57:43 +0000
parents e037173e0012
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1 Usage: java [-options] class [args...]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2 (to execute a class)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3 or java [-options] -jar jarfile [args...]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4 (to execute a jar file)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5 where options include:
e037173e0012 Initial import.
HackBot
parents:
diff changeset
6 -d32 use a 32-bit data model if available
e037173e0012 Initial import.
HackBot
parents:
diff changeset
7 -d64 use a 64-bit data model if available
e037173e0012 Initial import.
HackBot
parents:
diff changeset
8 -server to select the "server" VM
e037173e0012 Initial import.
HackBot
parents:
diff changeset
9 The default VM is server.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
10
e037173e0012 Initial import.
HackBot
parents:
diff changeset
11 -cp <class search path of directories and zip/jar files>
e037173e0012 Initial import.
HackBot
parents:
diff changeset
12 -classpath <class search path of directories and zip/jar files>
e037173e0012 Initial import.
HackBot
parents:
diff changeset
13 A : separated list of directories, JAR archives,
e037173e0012 Initial import.
HackBot
parents:
diff changeset
14 and ZIP archives to search for class files.
e037173e0012 Initial import.
HackBot
parents:
diff changeset
15 -D<name>=<value>
e037173e0012 Initial import.
HackBot
parents:
diff changeset
16 set a system property
e037173e0012 Initial import.
HackBot
parents:
diff changeset
17 -verbose[:class|gc|jni]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
18 enable verbose output
e037173e0012 Initial import.
HackBot
parents:
diff changeset
19 -version print product version and exit
e037173e0012 Initial import.
HackBot
parents:
diff changeset
20 -version:<value>
e037173e0012 Initial import.
HackBot
parents:
diff changeset
21 require the specified version to run
e037173e0012 Initial import.
HackBot
parents:
diff changeset
22 -showversion print product version and continue
e037173e0012 Initial import.
HackBot
parents:
diff changeset
23 -jre-restrict-search | -jre-no-restrict-search
e037173e0012 Initial import.
HackBot
parents:
diff changeset
24 include/exclude user private JREs in the version search
e037173e0012 Initial import.
HackBot
parents:
diff changeset
25 -? -help print this help message
e037173e0012 Initial import.
HackBot
parents:
diff changeset
26 -X print help on non-standard options
e037173e0012 Initial import.
HackBot
parents:
diff changeset
27 -ea[:<packagename>...|:<classname>]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
28 -enableassertions[:<packagename>...|:<classname>]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
29 enable assertions with specified granularity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
30 -da[:<packagename>...|:<classname>]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
31 -disableassertions[:<packagename>...|:<classname>]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
32 disable assertions with specified granularity
e037173e0012 Initial import.
HackBot
parents:
diff changeset
33 -esa | -enablesystemassertions
e037173e0012 Initial import.
HackBot
parents:
diff changeset
34 enable system assertions
e037173e0012 Initial import.
HackBot
parents:
diff changeset
35 -dsa | -disablesystemassertions
e037173e0012 Initial import.
HackBot
parents:
diff changeset
36 disable system assertions
e037173e0012 Initial import.
HackBot
parents:
diff changeset
37 -agentlib:<libname>[=<options>]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
38 load native agent library <libname>, e.g. -agentlib:hprof
e037173e0012 Initial import.
HackBot
parents:
diff changeset
39 see also, -agentlib:jdwp=help and -agentlib:hprof=help
e037173e0012 Initial import.
HackBot
parents:
diff changeset
40 -agentpath:<pathname>[=<options>]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
41 load native agent library by full pathname
e037173e0012 Initial import.
HackBot
parents:
diff changeset
42 -javaagent:<jarpath>[=<options>]
e037173e0012 Initial import.
HackBot
parents:
diff changeset
43 load Java programming language agent, see java.lang.instrument
e037173e0012 Initial import.
HackBot
parents:
diff changeset
44 -splash:<imagepath>
e037173e0012 Initial import.
HackBot
parents:
diff changeset
45 show splash screen with specified image
e037173e0012 Initial import.
HackBot
parents:
diff changeset
46 See http://java.sun.com/javase/reference for more details.