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