author | ksrini |
Mon, 19 Nov 2012 19:49:38 -0800 | |
changeset 14518 | f4b1adde53b3 |
parent 14342 | 8435a30053c1 |
child 15003 | 364408faddeb |
permissions | -rw-r--r-- |
2 | 1 |
# |
14342
8435a30053c1
7197491: update copyright year to match last edit in jdk8 jdk repository
alanb
parents:
13411
diff
changeset
|
2 |
# Copyright (c) 2007, 2012, 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 |
|
27 |
java.launcher.opt.header = Usage: {0} [-options] class [args...]\n\ |
|
28 |
\ (to execute a class)\n or {0} [-options] -jar jarfile [args...]\n\ |
|
29 |
\ (to execute a jar file)\n\ |
|
30 |
where options include:\n |
|
31 |
||
32 |
java.launcher.opt.datamodel =\ -d{0}\t use a {0}-bit data model if available\n |
|
33 |
java.launcher.opt.vmselect =\ {0}\t to select the "{1}" VM\n |
|
34 |
java.launcher.opt.hotspot =\ {0}\t is a synonym for the "{1}" VM [deprecated]\n |
|
35 |
||
36 |
java.launcher.ergo.message1 =\ The default VM is {0} |
|
37 |
java.launcher.ergo.message2 =\ because you are running on a server-class machine.\n |
|
38 |
||
39 |
# Translators please note do not translate the options themselves |
|
40 |
java.launcher.opt.footer =\ -cp <class search path of directories and zip/jar files>\n\ |
|
41 |
\ -classpath <class search path of directories and zip/jar files>\n\ |
|
42 |
\ A {0} separated list of directories, JAR archives,\n\ |
|
43 |
\ and ZIP archives to search for class files.\n\ |
|
44 |
\ -D<name>=<value>\n\ |
|
45 |
\ set a system property\n\ |
|
10073
327c8d3193bd
7046007: (launcher) Improve usage information for -verbose option
ksrini
parents:
9035
diff
changeset
|
46 |
\ -verbose:[class|gc|jni]\n\ |
2 | 47 |
\ enable verbose output\n\ |
48 |
\ -version print product version and exit\n\ |
|
49 |
\ -version:<value>\n\ |
|
50 |
\ require the specified version to run\n\ |
|
51 |
\ -showversion print product version and continue\n\ |
|
6888
83b7b1e3301c
6894719: (launcher)The option -no-jre-restrict-search is expected when -jre-no-restrict-search is documented.
ksrini
parents:
5506
diff
changeset
|
52 |
\ -jre-restrict-search | -no-jre-restrict-search\n\ |
2 | 53 |
\ include/exclude user private JREs in the version search\n\ |
54 |
\ -? -help print this help message\n\ |
|
55 |
\ -X print help on non-standard options\n\ |
|
56 |
\ -ea[:<packagename>...|:<classname>]\n\ |
|
57 |
\ -enableassertions[:<packagename>...|:<classname>]\n\ |
|
58 |
\ enable assertions with specified granularity\n\ |
|
59 |
\ -da[:<packagename>...|:<classname>]\n\ |
|
60 |
\ -disableassertions[:<packagename>...|:<classname>]\n\ |
|
61 |
\ disable assertions with specified granularity\n\ |
|
62 |
\ -esa | -enablesystemassertions\n\ |
|
63 |
\ enable system assertions\n\ |
|
64 |
\ -dsa | -disablesystemassertions\n\ |
|
65 |
\ disable system assertions\n\ |
|
66 |
\ -agentlib:<libname>[=<options>]\n\ |
|
67 |
\ load native agent library <libname>, e.g. -agentlib:hprof\n\ |
|
68 |
\ see also, -agentlib:jdwp=help and -agentlib:hprof=help\n\ |
|
69 |
\ -agentpath:<pathname>[=<options>]\n\ |
|
70 |
\ load native agent library by full pathname\n\ |
|
71 |
\ -javaagent:<jarpath>[=<options>]\n\ |
|
72 |
\ load Java programming language agent, see java.lang.instrument\n\ |
|
73 |
\ -splash:<imagepath>\n\ |
|
74 |
\ show splash screen with specified image\n\ |
|
10121
1c789a986386
7062969: java -help still shows http://java.sun.com/javase/reference
ksrini
parents:
10073
diff
changeset
|
75 |
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details. |
2 | 76 |
|
77 |
# Translators please note do not translate the options themselves |
|
78 |
java.launcher.X.usage=\ |
|
79 |
\ -Xmixed mixed mode execution (default)\n\ |
|
80 |
\ -Xint interpreted mode execution only\n\ |
|
81 |
\ -Xbootclasspath:<directories and zip/jar files separated by {0}>\n\ |
|
82 |
\ set search path for bootstrap classes and resources\n\ |
|
83 |
\ -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\ |
|
84 |
\ append to end of bootstrap class path\n\ |
|
85 |
\ -Xbootclasspath/p:<directories and zip/jar files separated by {0}>\n\ |
|
86 |
\ prepend in front of bootstrap class path\n\ |
|
8174
89e3a22d4cd7
6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents:
7297
diff
changeset
|
87 |
\ -Xdiag show additional diagnostic messages\n\ |
2 | 88 |
\ -Xnoclassgc disable class garbage collection\n\ |
89 |
\ -Xincgc enable incremental garbage collection\n\ |
|
90 |
\ -Xloggc:<file> log GC status to a file with time stamps\n\ |
|
91 |
\ -Xbatch disable background compilation\n\ |
|
92 |
\ -Xms<size> set initial Java heap size\n\ |
|
93 |
\ -Xmx<size> set maximum Java heap size\n\ |
|
94 |
\ -Xss<size> set java thread stack size\n\ |
|
95 |
\ -Xprof output cpu profiling data\n\ |
|
96 |
\ -Xfuture enable strictest checks, anticipating future default\n\ |
|
97 |
\ -Xrs reduce use of OS signals by Java/VM (see documentation)\n\ |
|
98 |
\ -Xcheck:jni perform additional checks for JNI functions\n\ |
|
99 |
\ -Xshare:off do not attempt to use shared class data\n\ |
|
100 |
\ -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
|
101 |
\ -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
|
102 |
\ -XshowSettings show all settings and continue\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
103 |
\ -XshowSettings:all\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
104 |
\ show all settings and continue\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
105 |
\ -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
|
106 |
\ -XshowSettings:properties\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
107 |
\ show all property settings and continue\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
108 |
\ -XshowSettings:locale\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
109 |
\ show all locale related settings and continue\n\n\ |
2 | 110 |
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
|
111 |
|
12047
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
112 |
# Translators please note do not translate the options themselves |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
113 |
java.launcher.X.macosx.usage=\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
114 |
\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
115 |
The following options are Mac OS X specific:\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
116 |
\ -XstartOnFirstThread\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
117 |
\ run the main() method on the first (AppKit) thread\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
118 |
\ -Xdock:name=<application name>"\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
119 |
\ override default application name displayed in dock\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
120 |
\ -Xdock:icon=<path to icon file>\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
121 |
\ override default icon displayed in dock\n\n |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
122 |
|
1323
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
123 |
java.launcher.cls.error1=\ |
8174
89e3a22d4cd7
6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents:
7297
diff
changeset
|
124 |
Error: Could not find or load main class {0} |
1323
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
125 |
java.launcher.cls.error2=\ |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
126 |
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
|
127 |
\ public static void main(String[] args) |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
128 |
java.launcher.cls.error3=\ |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
129 |
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
|
130 |
define the main method as:\n\ |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
131 |
\ public static void main(String[] args) |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
132 |
java.launcher.cls.error4=\ |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
133 |
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
|
134 |
\ public static void main(String[] args)\n\ |
f4b1adde53b3
8001533: java launcher must launch javafx applications
ksrini
parents:
14342
diff
changeset
|
135 |
or a JavaFX application class must extend {1} |
f4b1adde53b3
8001533: java launcher must launch javafx applications
ksrini
parents:
14342
diff
changeset
|
136 |
java.launcher.cls.error5=\ |
f4b1adde53b3
8001533: java launcher must launch javafx applications
ksrini
parents:
14342
diff
changeset
|
137 |
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
|
138 |
java.launcher.jar.error1=\ |
89e3a22d4cd7
6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents:
7297
diff
changeset
|
139 |
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
|
140 |
java.launcher.jar.error2=manifest not found in {0} |
89e3a22d4cd7
6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents:
7297
diff
changeset
|
141 |
java.launcher.jar.error3=no main manifest attribute, in {0} |
13411
224a28370893
7146424: Wildcard expansion for single entry classpath
ksrini
parents:
12047
diff
changeset
|
142 |
java.launcher.init.error=initialization error |