launcher.properties revision 16910:0ca06091913f
1# 2# Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved. 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 7# published by the Free Software Foundation. Oracle designates this 8# particular file as subject to the "Classpath" exception as provided 9# by Oracle in the LICENSE file that accompanied this code. 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# 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. 24# 25 26# Translators please note do not translate the options themselves 27java.launcher.opt.header = Usage: {0} [options] <mainclass> [args...]\n\ 28\ (to execute a class)\n or {0} [options] -jar <jarfile> [args...]\n\ 29\ (to execute a jar file)\n\ 30\ or {0} [options] -m <module>[/<mainclass>] [args...]\n\ 31\ {0} [options] --module <module>[/<mainclass>] [args...]\n\ 32\ (to execute the main class in a module)\n\n\ 33\ Arguments following the main class, -jar <jarfile>, -m or --module\n\ 34\ <module>/<mainclass> are passed as the arguments to main class.\n\n\ 35\ where options include:\n\n 36 37java.launcher.opt.datamodel =\ -d{0}\t Deprecated, will be removed in a future release\n 38java.launcher.opt.vmselect =\ {0}\t to select the "{1}" VM\n 39java.launcher.opt.hotspot =\ {0}\t is a synonym for the "{1}" VM [deprecated]\n 40 41# Translators please note do not translate the options themselves 42java.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\ --class-path <class search path of directories and zip/jar files>\n\ 45\ A {0} separated list of directories, JAR archives,\n\ 46\ and ZIP archives to search for class files.\n\ 47\ -p <module path>\n\ 48\ --module-path <module path>...\n\ 49\ A {0} separated list of directories, each directory\n\ 50\ is a directory of modules.\n\ 51\ --upgrade-module-path <module path>...\n\ 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\ 55\ --add-modules <modulename>[,<modulename>...]\n\ 56\ root modules to resolve in addition to the initial module.\n\ 57\ <modulename> can also be ALL-DEFAULT, ALL-SYSTEM,\n\ 58\ ALL-MODULE-PATH.\n\ 59\ --limit-modules <modulename>[,<modulename>...]\n\ 60\ limit the universe of observable modules\n\ 61\ --list-modules [<modulename>[,<modulename>...]]\n\ 62\ list the observable modules and exit\n\ 63\ --dry-run create VM but do not execute main method.\n\ 64\ This --dry-run option may be useful for validating the\n\ 65\ command-line options such as the module system configuration.\n\ 66\ -D<name>=<value>\n\ 67\ set a system property\n\ 68\ -verbose:[class|gc|jni]\n\ 69\ enable verbose output\n\ 70\ -version print product version to the error stream and exit\n\ 71\ --version print product version to the output stream and exit\n\ 72\ -showversion print product version to the error stream and continue\n\ 73\ --show-version\n\ 74\ print product version to the output stream and continue\n\ 75\ -? -h -help\n\ 76\ print this help message to the error stream\n\ 77\ --help print this help message to the output stream\n\ 78\ -X print help on extra options to the error stream\n\ 79\ --help-extra print help on extra options to the output stream\n\ 80\ -ea[:<packagename>...|:<classname>]\n\ 81\ -enableassertions[:<packagename>...|:<classname>]\n\ 82\ enable assertions with specified granularity\n\ 83\ -da[:<packagename>...|:<classname>]\n\ 84\ -disableassertions[:<packagename>...|:<classname>]\n\ 85\ disable assertions with specified granularity\n\ 86\ -esa | -enablesystemassertions\n\ 87\ enable system assertions\n\ 88\ -dsa | -disablesystemassertions\n\ 89\ disable system assertions\n\ 90\ -agentlib:<libname>[=<options>]\n\ 91\ load native agent library <libname>, e.g. -agentlib:jdwp\n\ 92\ see also -agentlib:jdwp=help\n\ 93\ -agentpath:<pathname>[=<options>]\n\ 94\ load native agent library by full pathname\n\ 95\ -javaagent:<jarpath>[=<options>]\n\ 96\ load Java programming language agent, see java.lang.instrument\n\ 97\ -splash:<imagepath>\n\ 98\ show splash screen with specified image\n\ 99\ HiDPI scaled images are automatically supported and used\n\ 100\ if available. The unscaled image filename, e.g. image.ext,\n\ 101\ should always be passed as the argument to the -splash option.\n\ 102\ The most appropriate scaled image provided will be picked up\n\ 103\ automatically.\n\ 104\ See the SplashScreen API documentation for more information.\n\ 105\ @<filepath> read options from the specified file\n\n\ 106\To specify an argument for a long option, you can use --<name>=<value> or\n\ 107\--<name> <value>.\n 108 109# Translators please note do not translate the options themselves 110java.launcher.X.usage=\n\ 111\ -Xbatch disable background compilation\n\ 112\ -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\ 113\ append to end of bootstrap class path\n\ 114\ -Xcheck:jni perform additional checks for JNI functions\n\ 115\ -Xcomp forces compilation of methods on first invocation\n\ 116\ -Xdebug provided for backward compatibility\n\ 117\ -Xdiag show additional diagnostic messages\n\ 118\ -Xdiag:resolver show resolver diagnostic messages\n\ 119\ -Xfuture enable strictest checks, anticipating future default\n\ 120\ -Xint interpreted mode execution only\n\ 121\ -Xinternalversion\n\ 122\ displays more detailed JVM version information than the\n\ 123\ -version option\n\ 124\ -Xloggc:<file> log GC status to a file with time stamps\n\ 125\ -Xmixed mixed mode execution (default)\n\ 126\ -Xmn<size> sets the initial and maximum size (in bytes) of the heap\n\ 127\ for the young generation (nursery)\n\ 128\ -Xms<size> set initial Java heap size\n\ 129\ -Xmx<size> set maximum Java heap size\n\ 130\ -Xnoclassgc disable class garbage collection\n\ 131\ -Xprof output cpu profiling data (deprecated)\n\ 132\ -Xrs reduce use of OS signals by Java/VM (see documentation)\n\ 133\ -Xshare:auto use shared class data if possible (default)\n\ 134\ -Xshare:off do not attempt to use shared class data\n\ 135\ -Xshare:on require using shared class data, otherwise fail.\n\ 136\ -XshowSettings show all settings and continue\n\ 137\ -XshowSettings:all\n\ 138\ show all settings and continue\n\ 139\ -XshowSettings:locale\n\ 140\ show all locale related settings and continue\n\ 141\ -XshowSettings:properties\n\ 142\ show all property settings and continue\n\ 143\ -XshowSettings:vm show all vm related settings and continue\n\ 144\ -Xss<size> set java thread stack size\n\ 145\ -Xverify sets the mode of the bytecode verifier\n\ 146\ --add-reads <module>=<target-module>(,<target-module>)*\n\ 147\ updates <module> to read <target-module>, regardless\n\ 148\ of module declaration. \n\ 149\ <target-module> can be ALL-UNNAMED to read all unnamed\n\ 150\ modules.\n\ 151\ --add-exports <module>/<package>=<target-module>(,<target-module>)*\n\ 152\ updates <module> to export <package> to <target-module>,\n\ 153\ regardless of module declaration.\n\ 154\ <target-module> can be ALL-UNNAMED to export to all\n\ 155\ unnamed modules.\n\ 156\ --add-opens <module>/<package>=<target-module>(,<target-module>)*\n\ 157\ updates <module> to open <package> to\n\ 158\ <target-module>, regardless of module declaration.\n\ 159\ --permit-illegal-access\n\ 160\ permit illegal access to members of types in named modules\n\ 161\ by code in unnamed modules. This compatibility option will\n\ 162\ be removed in the next release.\n\ 163\ --disable-@files disable further argument file expansion\n\ 164\ --patch-module <module>=<file>({0}<file>)*\n\ 165\ Override or augment a module with classes and resources\n\ 166\ in JAR files or directories.\n\n\ 167These extra options are subject to change without notice.\n 168 169# Translators please note do not translate the options themselves 170java.launcher.X.macosx.usage=\ 171\n\ 172The following options are Mac OS X specific:\n\ 173\ -XstartOnFirstThread\n\ 174\ run the main() method on the first (AppKit) thread\n\ 175\ -Xdock:name=<application name>\n\ 176\ override default application name displayed in dock\n\ 177\ -Xdock:icon=<path to icon file>\n\ 178\ override default icon displayed in dock\n\n 179 180java.launcher.cls.error1=\ 181 Error: Could not find or load main class {0}\n\ 182 Caused by: {1}: {2} 183java.launcher.cls.error2=\ 184 Error: Main method is not {0} in class {1}, please define the main method as:\n\ 185\ public static void main(String[] args) 186java.launcher.cls.error3=\ 187 Error: Main method must return a value of type void in class {0}, please \n\ 188 define the main method as:\n\ 189\ public static void main(String[] args) 190java.launcher.cls.error4=\ 191 Error: Main method not found in class {0}, please define the main method as:\n\ 192\ public static void main(String[] args)\n\ 193 or a JavaFX application class must extend {1} 194java.launcher.cls.error5=\ 195 Error: JavaFX runtime components are missing, and are required to run this application 196java.launcher.cls.error6=\ 197 Error: LinkageError occurred while loading main class {0}\n\ 198 \t{1} 199java.launcher.jar.error1=\ 200 Error: An unexpected error occurred while trying to open file {0} 201java.launcher.jar.error2=manifest not found in {0} 202java.launcher.jar.error3=no main manifest attribute, in {0} 203java.launcher.init.error=initialization error 204java.launcher.javafx.error1=\ 205 Error: The JavaFX launchApplication method has the wrong signature, it\n\ 206 must be declared static and return a value of type void 207java.launcher.module.error1=\ 208 module {0} does not have a MainClass attribute, use -m <module>/<main-class> 209java.launcher.module.error2=\ 210 Error: Could not find or load main class {0} in module {1} 211java.launcher.module.error3=\ 212 Error: Unable to load main class {0} from module {1}\n\ 213 \t{2} 214java.launcher.permitaccess.warning=\ 215 WARNING: Main manifest of {0} contains {1} attribute to permit illegal access 216 217