author | stefank |
Wed, 20 Apr 2016 09:57:01 +0200 | |
changeset 38331 | b573786bd981 |
parent 36511 | 9d0388c6b336 |
child 38349 | 9bdb1e62c552 |
permissions | -rw-r--r-- |
2 | 1 |
# |
28109
c510e26fcd55
8067421: java -help contains information about "-version:",'-jre-restrict-search', '-no-jre-restrict-search', but they are removed
ksrini
parents:
25859
diff
changeset
|
2 |
# Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved. |
2 | 3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
# |
|
5 |
# This code is free software; you can redistribute it and/or modify it |
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
|
5506 | 7 |
# published by the Free Software Foundation. Oracle designates this |
2 | 8 |
# particular file as subject to the "Classpath" exception as provided |
5506 | 9 |
# by Oracle in the LICENSE file that accompanied this code. |
2 | 10 |
# |
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
# accompanied this code). |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License version |
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
# |
|
5506 | 21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 |
# or visit www.oracle.com if you need additional information or have any |
|
23 |
# questions. |
|
2 | 24 |
# |
25 |
||
26 |
# Translators please note do not translate the options themselves |
|
32267
4e96a9ee01b1
8027634: Support @argfiles for java command-line tool
henryjen
parents:
28109
diff
changeset
|
27 |
java.launcher.opt.header = Usage: {0} [options] class [args...]\n\ |
4e96a9ee01b1
8027634: Support @argfiles for java command-line tool
henryjen
parents:
28109
diff
changeset
|
28 |
\ (to execute a class)\n or {0} [options] -jar jarfile [args...]\n\ |
2 | 29 |
\ (to execute a jar file)\n\ |
36511 | 30 |
\ or {0} [-options] -mp <modulepath> -m <modulename> | <modulename>/<mainclass>\n\ |
31 |
\ (to execute the main class in a module)\n\ |
|
2 | 32 |
where options include:\n |
33 |
||
34 |
java.launcher.opt.datamodel =\ -d{0}\t use a {0}-bit data model if available\n |
|
35 |
java.launcher.opt.vmselect =\ {0}\t to select the "{1}" VM\n |
|
36 |
java.launcher.opt.hotspot =\ {0}\t is a synonym for the "{1}" VM [deprecated]\n |
|
37 |
||
38 |
java.launcher.ergo.message1 =\ The default VM is {0} |
|
39 |
java.launcher.ergo.message2 =\ because you are running on a server-class machine.\n |
|
40 |
||
41 |
# Translators please note do not translate the options themselves |
|
42 |
java.launcher.opt.footer =\ -cp <class search path of directories and zip/jar files>\n\ |
|
43 |
\ -classpath <class search path of directories and zip/jar files>\n\ |
|
44 |
\ A {0} separated list of directories, JAR archives,\n\ |
|
45 |
\ and ZIP archives to search for class files.\n\ |
|
36511 | 46 |
\ -mp <module path>\n\ |
47 |
\ -modulepath <module path>...\n\ |
|
48 |
\ A {0} separated list of directories, each directory\n\ |
|
49 |
\ is a directory of modules.\n\ |
|
50 |
\ -upgrademodulepath <module path>...\n\ |
|
51 |
\ A {0} separated list of directories, each directory\n\ |
|
52 |
\ is a directory of modules that replace upgradeable\n\ |
|
53 |
\ modules in the runtime image\n\ |
|
54 |
\ -m <modulename> | <modulename>/<mainclass>\n\ |
|
55 |
\ the initial or main module to resolve\n\ |
|
56 |
\ -addmods <modulename>[,<modulename>...]\n\ |
|
57 |
\ root modules to resolve in addition to the initial module\n\ |
|
58 |
\ -limitmods <modulename>[,<modulename>...]\n\ |
|
59 |
\ limit the universe of observable modules\n\ |
|
60 |
\ -listmods[:<modulename>[,<modulename>...]]\n\ |
|
61 |
\ list the observable modules and exit\n\ |
|
2 | 62 |
\ -D<name>=<value>\n\ |
63 |
\ set a system property\n\ |
|
10073
327c8d3193bd
7046007: (launcher) Improve usage information for -verbose option
ksrini
parents:
9035
diff
changeset
|
64 |
\ -verbose:[class|gc|jni]\n\ |
2 | 65 |
\ enable verbose output\n\ |
66 |
\ -version print product version and exit\n\ |
|
67 |
\ -showversion print product version and continue\n\ |
|
68 |
\ -? -help print this help message\n\ |
|
69 |
\ -X print help on non-standard options\n\ |
|
70 |
\ -ea[:<packagename>...|:<classname>]\n\ |
|
71 |
\ -enableassertions[:<packagename>...|:<classname>]\n\ |
|
72 |
\ enable assertions with specified granularity\n\ |
|
73 |
\ -da[:<packagename>...|:<classname>]\n\ |
|
74 |
\ -disableassertions[:<packagename>...|:<classname>]\n\ |
|
75 |
\ disable assertions with specified granularity\n\ |
|
76 |
\ -esa | -enablesystemassertions\n\ |
|
77 |
\ enable system assertions\n\ |
|
78 |
\ -dsa | -disablesystemassertions\n\ |
|
79 |
\ disable system assertions\n\ |
|
80 |
\ -agentlib:<libname>[=<options>]\n\ |
|
32414
4e5f62b2f088
8133314: Update launcher.properties to remove reference to hprof
sla
parents:
28109
diff
changeset
|
81 |
\ load native agent library <libname>, e.g. -agentlib:jdwp\n\ |
4e5f62b2f088
8133314: Update launcher.properties to remove reference to hprof
sla
parents:
28109
diff
changeset
|
82 |
\ see also -agentlib:jdwp=help\n\ |
2 | 83 |
\ -agentpath:<pathname>[=<options>]\n\ |
84 |
\ load native agent library by full pathname\n\ |
|
85 |
\ -javaagent:<jarpath>[=<options>]\n\ |
|
86 |
\ load Java programming language agent, see java.lang.instrument\n\ |
|
87 |
\ -splash:<imagepath>\n\ |
|
88 |
\ show splash screen with specified image\n\ |
|
32267
4e96a9ee01b1
8027634: Support @argfiles for java command-line tool
henryjen
parents:
28109
diff
changeset
|
89 |
\ @<filepath> read options from the specified file\n\ |
4e96a9ee01b1
8027634: Support @argfiles for java command-line tool
henryjen
parents:
28109
diff
changeset
|
90 |
|
10121
1c789a986386
7062969: java -help still shows http://java.sun.com/javase/reference
ksrini
parents:
10073
diff
changeset
|
91 |
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details. |
2 | 92 |
|
93 |
# Translators please note do not translate the options themselves |
|
94 |
java.launcher.X.usage=\ |
|
95 |
\ -Xmixed mixed mode execution (default)\n\ |
|
96 |
\ -Xint interpreted mode execution only\n\ |
|
97 |
\ -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\ |
|
98 |
\ append to end of bootstrap class path\n\ |
|
8174
89e3a22d4cd7
6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents:
7297
diff
changeset
|
99 |
\ -Xdiag show additional diagnostic messages\n\ |
36511 | 100 |
\ -Xdiag:resolver show resolver diagnostic messages\n\ |
2 | 101 |
\ -Xnoclassgc disable class garbage collection\n\ |
102 |
\ -Xloggc:<file> log GC status to a file with time stamps\n\ |
|
103 |
\ -Xbatch disable background compilation\n\ |
|
104 |
\ -Xms<size> set initial Java heap size\n\ |
|
105 |
\ -Xmx<size> set maximum Java heap size\n\ |
|
106 |
\ -Xss<size> set java thread stack size\n\ |
|
107 |
\ -Xprof output cpu profiling data\n\ |
|
108 |
\ -Xfuture enable strictest checks, anticipating future default\n\ |
|
109 |
\ -Xrs reduce use of OS signals by Java/VM (see documentation)\n\ |
|
110 |
\ -Xcheck:jni perform additional checks for JNI functions\n\ |
|
111 |
\ -Xshare:off do not attempt to use shared class data\n\ |
|
112 |
\ -Xshare:auto use shared class data if possible (default)\n\ |
|
7297
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
113 |
\ -Xshare:on require using shared class data, otherwise fail.\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
114 |
\ -XshowSettings show all settings and continue\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
115 |
\ -XshowSettings:all\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
116 |
\ show all settings and continue\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
117 |
\ -XshowSettings:vm show all vm related settings and continue\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
118 |
\ -XshowSettings:properties\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
119 |
\ show all property settings and continue\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
120 |
\ -XshowSettings:locale\n\ |
32267
4e96a9ee01b1
8027634: Support @argfiles for java command-line tool
henryjen
parents:
28109
diff
changeset
|
121 |
\ show all locale related settings and continue\n\ |
36511 | 122 |
\ -XaddReads:<module>=<other-module>(,<other-module>)*\n\ |
123 |
\ <module> reads other modules,\n\ |
|
124 |
\ regardless of module declaration\n\ |
|
125 |
\ -XaddExports:<module>/<package>=<other-module>(,<other-module>)*\n\ |
|
126 |
\ <module> exports <package> to other modules,\n\ |
|
127 |
\ regardless of module declaration\n\ |
|
128 |
\ -Xpatch:<module>=<file>({0}<file>)*\n\ |
|
129 |
\ Override or augment a module with classes and resources\n\ |
|
130 |
\ in JAR files or directories\n\ |
|
32267
4e96a9ee01b1
8027634: Support @argfiles for java command-line tool
henryjen
parents:
28109
diff
changeset
|
131 |
\ -Xdisable-@files disable further argument file expansion\n\n\ |
2 | 132 |
The -X options are non-standard and subject to change without notice.\n |
1323
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
133 |
|
12047
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
134 |
# Translators please note do not translate the options themselves |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
135 |
java.launcher.X.macosx.usage=\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
136 |
\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
137 |
The following options are Mac OS X specific:\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
138 |
\ -XstartOnFirstThread\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
139 |
\ run the main() method on the first (AppKit) thread\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
140 |
\ -Xdock:name=<application name>"\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
141 |
\ override default application name displayed in dock\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
142 |
\ -Xdock:icon=<path to icon file>\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
143 |
\ override default icon displayed in dock\n\n |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
144 |
|
1323
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
145 |
java.launcher.cls.error1=\ |
8174
89e3a22d4cd7
6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents:
7297
diff
changeset
|
146 |
Error: Could not find or load main class {0} |
1323
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
147 |
java.launcher.cls.error2=\ |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
148 |
Error: Main method is not {0} in class {1}, please define the main method as:\n\ |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
149 |
\ public static void main(String[] args) |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
150 |
java.launcher.cls.error3=\ |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
151 |
Error: Main method must return a value of type void in class {0}, please \n\ |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
152 |
define the main method as:\n\ |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
153 |
\ public static void main(String[] args) |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
154 |
java.launcher.cls.error4=\ |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
155 |
Error: Main method not found in class {0}, please define the main method as:\n\ |
14518
f4b1adde53b3
8001533: java launcher must launch javafx applications
ksrini
parents:
14342
diff
changeset
|
156 |
\ public static void main(String[] args)\n\ |
f4b1adde53b3
8001533: java launcher must launch javafx applications
ksrini
parents:
14342
diff
changeset
|
157 |
or a JavaFX application class must extend {1} |
f4b1adde53b3
8001533: java launcher must launch javafx applications
ksrini
parents:
14342
diff
changeset
|
158 |
java.launcher.cls.error5=\ |
f4b1adde53b3
8001533: java launcher must launch javafx applications
ksrini
parents:
14342
diff
changeset
|
159 |
Error: JavaFX runtime components are missing, and are required to run this application |
8174
89e3a22d4cd7
6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents:
7297
diff
changeset
|
160 |
java.launcher.jar.error1=\ |
89e3a22d4cd7
6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents:
7297
diff
changeset
|
161 |
Error: An unexpected error occurred while trying to open file {0} |
89e3a22d4cd7
6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents:
7297
diff
changeset
|
162 |
java.launcher.jar.error2=manifest not found in {0} |
89e3a22d4cd7
6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents:
7297
diff
changeset
|
163 |
java.launcher.jar.error3=no main manifest attribute, in {0} |
13411
224a28370893
7146424: Wildcard expansion for single entry classpath
ksrini
parents:
12047
diff
changeset
|
164 |
java.launcher.init.error=initialization error |
15003
364408faddeb
8004547: Extend JavaFX launcher support to allow full JavaFX launch feature set
ksrini
parents:
14518
diff
changeset
|
165 |
java.launcher.javafx.error1=\ |
364408faddeb
8004547: Extend JavaFX launcher support to allow full JavaFX launch feature set
ksrini
parents:
14518
diff
changeset
|
166 |
Error: The JavaFX launchApplication method has the wrong signature, it\n\ |
364408faddeb
8004547: Extend JavaFX launcher support to allow full JavaFX launch feature set
ksrini
parents:
14518
diff
changeset
|
167 |
must be declared static and return a value of type void |
36511 | 168 |
java.launcher.module.error1=\ |
169 |
module {0} does not have a MainClass attribute, use -m <module>/<main-class> |
|
170 |
java.launcher.module.error2=\ |
|
171 |
Error: Could not find or load main class {0} in module {1} |