author | alanb |
Thu, 15 Feb 2018 14:44:14 +0000 | |
changeset 48902 | dfa46cfe5634 |
parent 47216 | 71c04702a3d5 |
child 49814 | 43159a6174fa |
permissions | -rw-r--r-- |
2 | 1 |
# |
43809
c3669a70a7ab
8174694: improve error message shown when main class can't be loaded
vromero
parents:
43496
diff
changeset
|
2 |
# Copyright (c) 2007, 2017, 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 |
|
44359
c6761862ca0b
8174823: Module system implementation refresh (3/2017)
alanb
parents:
43809
diff
changeset
|
27 |
java.launcher.opt.header = Usage: {0} [options] <mainclass> [args...]\n\ |
c6761862ca0b
8174823: Module system implementation refresh (3/2017)
alanb
parents:
43809
diff
changeset
|
28 |
\ (to execute a class)\n or {0} [options] -jar <jarfile> [args...]\n\ |
2 | 29 |
\ (to execute a jar file)\n\ |
44359
c6761862ca0b
8174823: Module system implementation refresh (3/2017)
alanb
parents:
43809
diff
changeset
|
30 |
\ or {0} [options] -m <module>[/<mainclass>] [args...]\n\ |
c6761862ca0b
8174823: Module system implementation refresh (3/2017)
alanb
parents:
43809
diff
changeset
|
31 |
\ {0} [options] --module <module>[/<mainclass>] [args...]\n\ |
42338
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
32 |
\ (to execute the main class in a module)\n\n\ |
44359
c6761862ca0b
8174823: Module system implementation refresh (3/2017)
alanb
parents:
43809
diff
changeset
|
33 |
\ Arguments following the main class, -jar <jarfile>, -m or --module\n\ |
c6761862ca0b
8174823: Module system implementation refresh (3/2017)
alanb
parents:
43809
diff
changeset
|
34 |
\ <module>/<mainclass> are passed as the arguments to main class.\n\n\ |
c6761862ca0b
8174823: Module system implementation refresh (3/2017)
alanb
parents:
43809
diff
changeset
|
35 |
\ where options include:\n\n |
2 | 36 |
|
37 |
java.launcher.opt.vmselect =\ {0}\t to select the "{1}" VM\n |
|
38 |
java.launcher.opt.hotspot =\ {0}\t is a synonym for the "{1}" VM [deprecated]\n |
|
39 |
||
40 |
# Translators please note do not translate the options themselves |
|
44541
7b5654460f8a
8065825: Make the java -help consistent with the man page
ksrini
parents:
44364
diff
changeset
|
41 |
java.launcher.opt.footer = \ |
7b5654460f8a
8065825: Make the java -help consistent with the man page
ksrini
parents:
44364
diff
changeset
|
42 |
\ -cp <class search path of directories and zip/jar files>\n\ |
2 | 43 |
\ -classpath <class search path of directories and zip/jar files>\n\ |
40261
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
44 |
\ --class-path <class search path of directories and zip/jar files>\n\ |
2 | 45 |
\ A {0} separated list of directories, JAR archives,\n\ |
46 |
\ and ZIP archives to search for class files.\n\ |
|
40261
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
47 |
\ -p <module path>\n\ |
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
48 |
\ --module-path <module path>...\n\ |
36511 | 49 |
\ A {0} separated list of directories, each directory\n\ |
50 |
\ is a directory of modules.\n\ |
|
40261
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
51 |
\ --upgrade-module-path <module path>...\n\ |
36511 | 52 |
\ A {0} separated list of directories, each directory\n\ |
53 |
\ is a directory of modules that replace upgradeable\n\ |
|
54 |
\ modules in the runtime image\n\ |
|
45004
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
55 |
\ --add-modules <module name>[,<module name>...]\n\ |
40261
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
56 |
\ root modules to resolve in addition to the initial module.\n\ |
45004
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
57 |
\ <module name> can also be ALL-DEFAULT, ALL-SYSTEM,\n\ |
40261
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
58 |
\ ALL-MODULE-PATH.\n\ |
45004
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
59 |
\ --list-modules\n\ |
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
60 |
\ list observable modules and exit\n\ |
45652
33342314ce89
8181087: Module system implementation refresh (6/2017)
alanb
parents:
45339
diff
changeset
|
61 |
\ -d <module name>\n\ |
45004
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
62 |
\ --describe-module <module name>\n\ |
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
63 |
\ describe a module and exit\n\ |
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
64 |
\ --dry-run create VM and load main class but do not execute main method.\n\ |
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
65 |
\ The --dry-run option may be useful for validating the\n\ |
39303 | 66 |
\ command-line options such as the module system configuration.\n\ |
45004
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
67 |
\ --validate-modules\n\ |
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
68 |
\ validate all modules and exit\n\ |
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
69 |
\ The --validate-modules option may be useful for finding\n\ |
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
70 |
\ conflicts and other errors with modules on the module path.\n\ |
2 | 71 |
\ -D<name>=<value>\n\ |
72 |
\ set a system property\n\ |
|
45004
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
73 |
\ -verbose:[class|module|gc|jni]\n\ |
2 | 74 |
\ enable verbose output\n\ |
42338
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
75 |
\ -version print product version to the error stream and exit\n\ |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
76 |
\ --version print product version to the output stream and exit\n\ |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
77 |
\ -showversion print product version to the error stream and continue\n\ |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
78 |
\ --show-version\n\ |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
79 |
\ print product version to the output stream and continue\n\ |
45004
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
80 |
\ --show-module-resolution\n\ |
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
81 |
\ show module resolution output during startup\n\ |
42338
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
82 |
\ -? -h -help\n\ |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
83 |
\ print this help message to the error stream\n\ |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
84 |
\ --help print this help message to the output stream\n\ |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
85 |
\ -X print help on extra options to the error stream\n\ |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
86 |
\ --help-extra print help on extra options to the output stream\n\ |
2 | 87 |
\ -ea[:<packagename>...|:<classname>]\n\ |
88 |
\ -enableassertions[:<packagename>...|:<classname>]\n\ |
|
89 |
\ enable assertions with specified granularity\n\ |
|
90 |
\ -da[:<packagename>...|:<classname>]\n\ |
|
91 |
\ -disableassertions[:<packagename>...|:<classname>]\n\ |
|
92 |
\ disable assertions with specified granularity\n\ |
|
93 |
\ -esa | -enablesystemassertions\n\ |
|
94 |
\ enable system assertions\n\ |
|
95 |
\ -dsa | -disablesystemassertions\n\ |
|
96 |
\ disable system assertions\n\ |
|
97 |
\ -agentlib:<libname>[=<options>]\n\ |
|
32414
4e5f62b2f088
8133314: Update launcher.properties to remove reference to hprof
sla
parents:
28109
diff
changeset
|
98 |
\ 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
|
99 |
\ see also -agentlib:jdwp=help\n\ |
2 | 100 |
\ -agentpath:<pathname>[=<options>]\n\ |
101 |
\ load native agent library by full pathname\n\ |
|
102 |
\ -javaagent:<jarpath>[=<options>]\n\ |
|
103 |
\ load Java programming language agent, see java.lang.instrument\n\ |
|
104 |
\ -splash:<imagepath>\n\ |
|
105 |
\ show splash screen with specified image\n\ |
|
41776
71e2575dd727
8151787: Unify the HiDPI splash screen image naming convention
rchamyal
parents:
40982
diff
changeset
|
106 |
\ HiDPI scaled images are automatically supported and used\n\ |
71e2575dd727
8151787: Unify the HiDPI splash screen image naming convention
rchamyal
parents:
40982
diff
changeset
|
107 |
\ if available. The unscaled image filename, e.g. image.ext,\n\ |
71e2575dd727
8151787: Unify the HiDPI splash screen image naming convention
rchamyal
parents:
40982
diff
changeset
|
108 |
\ should always be passed as the argument to the -splash option.\n\ |
71e2575dd727
8151787: Unify the HiDPI splash screen image naming convention
rchamyal
parents:
40982
diff
changeset
|
109 |
\ The most appropriate scaled image provided will be picked up\n\ |
71e2575dd727
8151787: Unify the HiDPI splash screen image naming convention
rchamyal
parents:
40982
diff
changeset
|
110 |
\ automatically.\n\ |
44541
7b5654460f8a
8065825: Make the java -help consistent with the man page
ksrini
parents:
44364
diff
changeset
|
111 |
\ See the SplashScreen API documentation for more information\n\ |
7b5654460f8a
8065825: Make the java -help consistent with the man page
ksrini
parents:
44364
diff
changeset
|
112 |
\ @argument files\n\ |
7b5654460f8a
8065825: Make the java -help consistent with the man page
ksrini
parents:
44364
diff
changeset
|
113 |
\ one or more argument files containing options\n\ |
7b5654460f8a
8065825: Make the java -help consistent with the man page
ksrini
parents:
44364
diff
changeset
|
114 |
\ -disable-@files\n\ |
7b5654460f8a
8065825: Make the java -help consistent with the man page
ksrini
parents:
44364
diff
changeset
|
115 |
\ prevent further argument file expansion\n\ |
40261
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
116 |
\To specify an argument for a long option, you can use --<name>=<value> or\n\ |
42338
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
117 |
\--<name> <value>.\n |
2 | 118 |
|
119 |
# Translators please note do not translate the options themselves |
|
42338
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
120 |
java.launcher.X.usage=\n\ |
40982
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
121 |
\ -Xbatch disable background compilation\n\ |
2 | 122 |
\ -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\ |
123 |
\ append to end of bootstrap class path\n\ |
|
40982
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
124 |
\ -Xcheck:jni perform additional checks for JNI functions\n\ |
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
125 |
\ -Xcomp forces compilation of methods on first invocation\n\ |
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
126 |
\ -Xdebug provided for backward compatibility\n\ |
8174
89e3a22d4cd7
6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents:
7297
diff
changeset
|
127 |
\ -Xdiag show additional diagnostic messages\n\ |
40982
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
128 |
\ -Xfuture enable strictest checks, anticipating future default\n\ |
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
129 |
\ -Xint interpreted mode execution only\n\ |
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
130 |
\ -Xinternalversion\n\ |
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
131 |
\ displays more detailed JVM version information than the\n\ |
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
132 |
\ -version option\n\ |
2 | 133 |
\ -Xloggc:<file> log GC status to a file with time stamps\n\ |
40982
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
134 |
\ -Xmixed mixed mode execution (default)\n\ |
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
135 |
\ -Xmn<size> sets the initial and maximum size (in bytes) of the heap\n\ |
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
136 |
\ for the young generation (nursery)\n\ |
2 | 137 |
\ -Xms<size> set initial Java heap size\n\ |
138 |
\ -Xmx<size> set maximum Java heap size\n\ |
|
40982
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
139 |
\ -Xnoclassgc disable class garbage collection\n\ |
2 | 140 |
\ -Xrs reduce use of OS signals by Java/VM (see documentation)\n\ |
40982
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
141 |
\ -Xshare:auto use shared class data if possible (default)\n\ |
2 | 142 |
\ -Xshare:off do not attempt to use shared class data\n\ |
7297
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
143 |
\ -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
|
144 |
\ -XshowSettings show all settings and continue\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
145 |
\ -XshowSettings:all\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
146 |
\ show all settings and continue\n\ |
40982
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
147 |
\ -XshowSettings:locale\n\ |
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
148 |
\ show all locale related settings and continue\n\ |
7297
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
149 |
\ -XshowSettings:properties\n\ |
906c58a8b849
6452854: Provide a flag to print the java configuration
ksrini
parents:
6888
diff
changeset
|
150 |
\ show all property settings and continue\n\ |
40982
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
151 |
\ -XshowSettings:vm show all vm related settings and continue\n\ |
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
152 |
\ -Xss<size> set java thread stack size\n\ |
63b3cca518d9
8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents:
40261
diff
changeset
|
153 |
\ -Xverify sets the mode of the bytecode verifier\n\ |
40261
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
154 |
\ --add-reads <module>=<target-module>(,<target-module>)*\n\ |
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
155 |
\ updates <module> to read <target-module>, regardless\n\ |
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
156 |
\ of module declaration. \n\ |
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
157 |
\ <target-module> can be ALL-UNNAMED to read all unnamed\n\ |
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
158 |
\ modules.\n\ |
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
159 |
\ --add-exports <module>/<package>=<target-module>(,<target-module>)*\n\ |
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
160 |
\ updates <module> to export <package> to <target-module>,\n\ |
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
161 |
\ regardless of module declaration.\n\ |
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
162 |
\ <target-module> can be ALL-UNNAMED to export to all\n\ |
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
163 |
\ unnamed modules.\n\ |
42338
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
164 |
\ --add-opens <module>/<package>=<target-module>(,<target-module>)*\n\ |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
165 |
\ updates <module> to open <package> to\n\ |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
166 |
\ <target-module>, regardless of module declaration.\n\ |
45652
33342314ce89
8181087: Module system implementation refresh (6/2017)
alanb
parents:
45339
diff
changeset
|
167 |
\ --illegal-access=<value>\n\ |
33342314ce89
8181087: Module system implementation refresh (6/2017)
alanb
parents:
45339
diff
changeset
|
168 |
\ permit or deny access to members of types in named modules\n\ |
33342314ce89
8181087: Module system implementation refresh (6/2017)
alanb
parents:
45339
diff
changeset
|
169 |
\ by code in unnamed modules.\n\ |
33342314ce89
8181087: Module system implementation refresh (6/2017)
alanb
parents:
45339
diff
changeset
|
170 |
\ <value> is one of "deny", "permit", "warn", or "debug"\n\ |
33342314ce89
8181087: Module system implementation refresh (6/2017)
alanb
parents:
45339
diff
changeset
|
171 |
\ This option will be removed in a future release.\n\ |
45004
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
172 |
\ --limit-modules <module name>[,<module name>...]\n\ |
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
173 |
\ limit the universe of observable modules\n\ |
40261
86a49ba76f52
8136930: Simplify use of module-system options by custom launchers
mchung
parents:
39338
diff
changeset
|
174 |
\ --patch-module <module>=<file>({0}<file>)*\n\ |
45004
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
175 |
\ override or augment a module with classes and resources\n\ |
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
176 |
\ in JAR files or directories.\n\ |
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
177 |
\ --disable-@files disable further argument file expansion\n\n\ |
42338
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41966
diff
changeset
|
178 |
These extra options are subject to change without notice.\n |
1323
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
179 |
|
12047
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
180 |
# Translators please note do not translate the options themselves |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
181 |
java.launcher.X.macosx.usage=\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
182 |
\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
183 |
The following options are Mac OS X specific:\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
184 |
\ -XstartOnFirstThread\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
185 |
\ run the main() method on the first (AppKit) thread\n\ |
39338
83b771c59414
8145418: [macosx] Help message for -Xdock:name has a superfluous trailing quote "
ksrini
parents:
39303
diff
changeset
|
186 |
\ -Xdock:name=<application name>\n\ |
12047
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
187 |
\ override default application name displayed in dock\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
188 |
\ -Xdock:icon=<path to icon file>\n\ |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
189 |
\ override default icon displayed in dock\n\n |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10121
diff
changeset
|
190 |
|
1323
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
191 |
java.launcher.cls.error1=\ |
43809
c3669a70a7ab
8174694: improve error message shown when main class can't be loaded
vromero
parents:
43496
diff
changeset
|
192 |
Error: Could not find or load main class {0}\n\ |
c3669a70a7ab
8174694: improve error message shown when main class can't be loaded
vromero
parents:
43496
diff
changeset
|
193 |
Caused by: {1}: {2} |
1323
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
194 |
java.launcher.cls.error2=\ |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
195 |
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
|
196 |
\ public static void main(String[] args) |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
197 |
java.launcher.cls.error3=\ |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
198 |
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
|
199 |
define the main method as:\n\ |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
200 |
\ public static void main(String[] args) |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
201 |
java.launcher.cls.error4=\ |
e14a3b3536cd
6742159: (launcher) improve the java launching mechanism
ksrini
parents:
2
diff
changeset
|
202 |
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
|
203 |
\ public static void main(String[] args)\n\ |
f4b1adde53b3
8001533: java launcher must launch javafx applications
ksrini
parents:
14342
diff
changeset
|
204 |
or a JavaFX application class must extend {1} |
f4b1adde53b3
8001533: java launcher must launch javafx applications
ksrini
parents:
14342
diff
changeset
|
205 |
java.launcher.cls.error5=\ |
f4b1adde53b3
8001533: java launcher must launch javafx applications
ksrini
parents:
14342
diff
changeset
|
206 |
Error: JavaFX runtime components are missing, and are required to run this application |
43496
fbafb9f36e96
8167063: spurious message "A JNI error has occurred" if start-class cannot be initialized
rpatil
parents:
43325
diff
changeset
|
207 |
java.launcher.cls.error6=\ |
fbafb9f36e96
8167063: spurious message "A JNI error has occurred" if start-class cannot be initialized
rpatil
parents:
43325
diff
changeset
|
208 |
Error: LinkageError occurred while loading main class {0}\n\ |
fbafb9f36e96
8167063: spurious message "A JNI error has occurred" if start-class cannot be initialized
rpatil
parents:
43325
diff
changeset
|
209 |
\t{1} |
45339
f2ab1225d11f
8181033: Confusing message: A JNI error has occurred, please check your installation and try again
mchung
parents:
45004
diff
changeset
|
210 |
java.launcher.cls.error7=\ |
f2ab1225d11f
8181033: Confusing message: A JNI error has occurred, please check your installation and try again
mchung
parents:
45004
diff
changeset
|
211 |
Error: Unable to initialize main class {0}\n\ |
f2ab1225d11f
8181033: Confusing message: A JNI error has occurred, please check your installation and try again
mchung
parents:
45004
diff
changeset
|
212 |
Caused by: {1}: {2} |
8174
89e3a22d4cd7
6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents:
7297
diff
changeset
|
213 |
java.launcher.jar.error1=\ |
89e3a22d4cd7
6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents:
7297
diff
changeset
|
214 |
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
|
215 |
java.launcher.jar.error2=manifest not found in {0} |
89e3a22d4cd7
6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents:
7297
diff
changeset
|
216 |
java.launcher.jar.error3=no main manifest attribute, in {0} |
45004
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
217 |
java.launcher.jar.error4=error loading java agent in {0} |
13411
224a28370893
7146424: Wildcard expansion for single entry classpath
ksrini
parents:
12047
diff
changeset
|
218 |
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
|
219 |
java.launcher.javafx.error1=\ |
364408faddeb
8004547: Extend JavaFX launcher support to allow full JavaFX launch feature set
ksrini
parents:
14518
diff
changeset
|
220 |
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
|
221 |
must be declared static and return a value of type void |
36511 | 222 |
java.launcher.module.error1=\ |
48902
dfa46cfe5634
8193819: Error message when module does not have a ModuleMainClass attribute is confusing
alanb
parents:
47216
diff
changeset
|
223 |
module {0} does not have a ModuleMainClass attribute, use -m <module>/<main-class> |
36511 | 224 |
java.launcher.module.error2=\ |
225 |
Error: Could not find or load main class {0} in module {1} |
|
43496
fbafb9f36e96
8167063: spurious message "A JNI error has occurred" if start-class cannot be initialized
rpatil
parents:
43325
diff
changeset
|
226 |
java.launcher.module.error3=\ |
45339
f2ab1225d11f
8181033: Confusing message: A JNI error has occurred, please check your installation and try again
mchung
parents:
45004
diff
changeset
|
227 |
Error: Unable to load main class {0} in module {1}\n\ |
43496
fbafb9f36e96
8167063: spurious message "A JNI error has occurred" if start-class cannot be initialized
rpatil
parents:
43325
diff
changeset
|
228 |
\t{2} |
45004
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
229 |
java.launcher.module.error4=\ |
ea3137042a61
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44541
diff
changeset
|
230 |
{0} not found |
45339
f2ab1225d11f
8181033: Confusing message: A JNI error has occurred, please check your installation and try again
mchung
parents:
45004
diff
changeset
|
231 |
java.launcher.module.error5=\ |
f2ab1225d11f
8181033: Confusing message: A JNI error has occurred, please check your installation and try again
mchung
parents:
45004
diff
changeset
|
232 |
Error: Unable to initialize main class {0} in module {1}\n\ |
f2ab1225d11f
8181033: Confusing message: A JNI error has occurred, please check your installation and try again
mchung
parents:
45004
diff
changeset
|
233 |
Caused by: {1}: {2} |