| # | |
| # Copyright (c) 2007, 2025, Oracle and/or its affiliates. All rights reserved. | |
| # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
| # | |
| # This code is free software; you can redistribute it and/or modify it | |
| # under the terms of the GNU General Public License version 2 only, as | |
| # published by the Free Software Foundation. Oracle designates this | |
| # particular file as subject to the "Classpath" exception as provided | |
| # by Oracle in the LICENSE file that accompanied this code. | |
| # | |
| # This code is distributed in the hope that it will be useful, but WITHOUT | |
| # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
| # version 2 for more details (a copy is included in the LICENSE file that | |
| # accompanied this code). | |
| # | |
| # You should have received a copy of the GNU General Public License version | |
| # 2 along with this work; if not, write to the Free Software Foundation, | |
| # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
| # | |
| # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | |
| # or visit www.oracle.com if you need additional information or have any | |
| # questions. | |
| # | |
| # Translators please note do not translate the options themselves | |
| java.launcher.opt.header = Usage: {0} [options] <mainclass> [args...]\n\ | |
| \ (to execute a class)\n\ | |
| \ or {0} [options] -jar <jarfile>.jar [args...]\n\ | |
| \ (to execute a jar file)\n\ | |
| \ or {0} [options] -m <module>[/<mainclass>] [args...]\n\ | |
| \ {0} [options] --module <module>[/<mainclass>] [args...]\n\ | |
| \ (to execute the main class in a module)\n\ | |
| \ or {0} [options] <sourcefile>.java [args]\n\ | |
| \ (to execute a source-file program)\n\n\ | |
| \ Arguments following the main class, source file, -jar <jarfile>.jar,\n\ | |
| \ -m or --module <module>/<mainclass> are passed as the arguments to\n\ | |
| \ main class.\n\n\ | |
| \ where options include:\n\n | |
| java.launcher.opt.vmselect =\ {0}\t to select the "{1}" VM\n | |
| java.launcher.opt.hotspot =\ {0}\t is a synonym for the "{1}" VM [deprecated]\n | |
| # Translators please note do not translate the options themselves | |
| java.launcher.opt.footer = \ | |
| \ -cp <class search path of directories and zip/jar files>\n\ | |
| \ -classpath <class search path of directories and zip/jar files>\n\ | |
| \ --class-path <class search path of directories and zip/jar files>\n\ | |
| \ A "{0}"-separated list of directories, JAR archives,\n\ | |
| \ and ZIP archives to search for class files.\n\ | |
| \ -p <module path>\n\ | |
| \ --module-path <module path>...\n\ | |
| \ A "{0}"-separated list of elements, each element is a file path\n\ | |
| \ to a module or a directory containing modules. Each module is either\n\ | |
| \ a modular JAR or an exploded-module directory.\n\ | |
| \ --upgrade-module-path <module path>...\n\ | |
| \ A "{0}"-separated list of elements, each element is a file path\n\ | |
| \ to a module or a directory containing modules to replace\n\ | |
| \ upgradeable modules in the runtime image. Each module is either\n\ | |
| \ a modular JAR or an exploded-module directory.\n\ | |
| \ --add-modules <module name>[,<module name>...]\n\ | |
| \ root modules to resolve in addition to the initial module.\n\ | |
| \ <module name> can also be ALL-DEFAULT, ALL-SYSTEM,\n\ | |
| \ ALL-MODULE-PATH.\n\ | |
| \ --enable-native-access <module name>[,<module name>...]\n\ | |
| \ allow code in modules to access code and data outside the Java runtime.\n\ | |
| \ <module name> can also be ALL-UNNAMED to indicate code on the class path.\n\ | |
| \ --illegal-native-access=<value>\n\ | |
| \ allow or deny access to code and data outside the Java runtime\n\ | |
| \ by code in modules for which native access is not explicitly enabled.\n\ | |
| \ <value> is one of "deny", "warn" or "allow". The default value is "warn".\n\ | |
| \ This option will be removed in a future release.\n\ | |
| \ --list-modules\n\ | |
| \ list observable modules and exit\n\ | |
| \ -d <module name>\n\ | |
| \ --describe-module <module name>\n\ | |
| \ describe a module and exit\n\ | |
| \ --dry-run create VM and load main class but do not execute main method.\n\ | |
| \ The --dry-run option may be useful for validating the\n\ | |
| \ command-line options such as the module system configuration.\n\ | |
| \ --validate-modules\n\ | |
| \ validate all modules and exit\n\ | |
| \ The --validate-modules option may be useful for finding\n\ | |
| \ conflicts and other errors with modules on the module path.\n\ | |
| \ -D<name>=<value>\n\ | |
| \ set a system property\n\ | |
| \ -verbose:[class|module|gc|jni]\n\ | |
| \ enable verbose output for the given subsystem\n\ | |
| \ -version print product version to the error stream and exit\n\ | |
| \ --version print product version to the output stream and exit\n\ | |
| \ -showversion print product version to the error stream and continue\n\ | |
| \ --show-version\n\ | |
| \ print product version to the output stream and continue\n\ | |
| \ --show-module-resolution\n\ | |
| \ show module resolution output during startup\n\ | |
| \ -? -h -help\n\ | |
| \ print this help message to the error stream\n\ | |
| \ --help print this help message to the output stream\n\ | |
| \ -X print help on extra options to the error stream\n\ | |
| \ --help-extra print help on extra options to the output stream\n\ | |
| \ -ea[:<packagename>...|:<classname>]\n\ | |
| \ -enableassertions[:<packagename>...|:<classname>]\n\ | |
| \ enable assertions with specified granularity\n\ | |
| \ -da[:<packagename>...|:<classname>]\n\ | |
| \ -disableassertions[:<packagename>...|:<classname>]\n\ | |
| \ disable assertions with specified granularity\n\ | |
| \ -esa | -enablesystemassertions\n\ | |
| \ enable system assertions\n\ | |
| \ -dsa | -disablesystemassertions\n\ | |
| \ disable system assertions\n\ | |
| \ -agentlib:<libname>[=<options>]\n\ | |
| \ load native agent library <libname>, e.g. -agentlib:jdwp\n\ | |
| \ see also -agentlib:jdwp=help\n\ | |
| \ -agentpath:<pathname>[=<options>]\n\ | |
| \ load native agent library by full pathname\n\ | |
| \ -javaagent:<jarpath>[=<options>]\n\ | |
| \ load Java programming language agent, see java.lang.instrument\n\ | |
| \ -splash:<imagepath>\n\ | |
| \ show splash screen with specified image\n\ | |
| \ HiDPI scaled images are automatically supported and used\n\ | |
| \ if available. The unscaled image filename, e.g. image.ext,\n\ | |
| \ should always be passed as the argument to the -splash option.\n\ | |
| \ The most appropriate scaled image provided will be picked up\n\ | |
| \ automatically.\n\ | |
| \ See the SplashScreen API documentation for more information\n\ | |
| \ @argument files\n\ | |
| \ one or more argument files containing options\n\ | |
| \ --disable-@files\n\ | |
| \ prevent further argument file expansion\n\ | |
| \ --enable-preview\n\ | |
| \ allow classes to depend on preview features of this release\n\ | |
| \To specify an argument for a long option, you can use --<name>=<value> or\n\ | |
| \--<name> <value>.\n | |
| # Translators please note do not translate the options themselves | |
| java.launcher.X.usage=\n\ | |
| \ -Xbatch disable background compilation\n\ | |
| \ -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\ | |
| \ append to end of bootstrap class path\n\ | |
| \ -Xcheck:jni perform additional checks for JNI functions\n\ | |
| \ -Xcomp forces compilation of methods on first invocation\n\ | |
| \ -Xdebug does nothing; deprecated for removal in a future release.\n\ | |
| \ -Xdiag show additional diagnostic messages\n\ | |
| \ -Xint interpreted mode execution only\n\ | |
| \ -Xinternalversion\n\ | |
| \ displays more detailed JVM version information than the\n\ | |
| \ -version option\n\ | |
| \ -Xlog:<opts> Configure or enable logging with the Java Virtual\n\ | |
| \ Machine (JVM) unified logging framework. Use -Xlog:help\n\ | |
| \ for details.\n\ | |
| \ -Xloggc:<file> log GC status to a file with time stamps.\n\ | |
| \ This option is deprecated and may be removed in a\n\ | |
| \ future release. It is replaced by -Xlog:gc:<file>.\n\ | |
| \ -Xmixed mixed mode execution (default)\n\ | |
| \ -Xmn<size> sets the initial and maximum size (in bytes) of the heap\n\ | |
| \ for the young generation (nursery)\n\ | |
| \ -Xms<size> set minimum and initial Java heap size\n\ | |
| \ -Xmx<size> set maximum Java heap size\n\ | |
| \ -Xnoclassgc disable class garbage collection\n\ | |
| \ -Xrs reduce use of OS signals by Java/VM (see documentation)\n\ | |
| \ -Xshare:auto use shared class data if possible (default)\n\ | |
| \ -Xshare:off do not attempt to use shared class data\n\ | |
| \ -Xshare:on require using shared class data, otherwise fail.\n\ | |
| \ This is a testing option and may lead to intermittent\n\ | |
| \ failures. It should not be used in production environments.\n\ | |
| \ -XshowSettings show all settings and continue\n\ | |
| \ -XshowSettings:all\n\ | |
| \ show all settings in verbose detail and continue\n\ | |
| \ -XshowSettings:locale\n\ | |
| \ show all locale related settings and continue\n\ | |
| \ -XshowSettings:properties\n\ | |
| \ show all property settings and continue\n\ | |
| \ -XshowSettings:vm\n\ | |
| \ show all vm related settings and continue\n\ | |
| \ -XshowSettings:security\n\ | |
| \ show all security settings and continue\n\ | |
| \ -XshowSettings:security:all\n\ | |
| \ show all security settings and continue\n\ | |
| \ -XshowSettings:security:properties\n\ | |
| \ show security properties and continue\n\ | |
| \ -XshowSettings:security:providers\n\ | |
| \ show static security provider settings and continue\n\ | |
| \ -XshowSettings:security:tls\n\ | |
| \ show TLS related security settings and continue\n\ | |
| \ -XshowSettings:system\n\ | |
| \ (Linux Only) show host system or container\n\ | |
| \ configuration and continue\n\ | |
| \ -Xss<size> set java thread stack size\n\ | |
| \ The actual size may be rounded up to a multiple of the\n\ | |
| \ system page size as required by the operating system.\n\ | |
| \ -Xverify sets the mode of the bytecode verifier\n\ | |
| \ Note that option -Xverify:none is deprecated and\n\ | |
| \ may be removed in a future release.\n\ | |
| \ --add-reads <module>=<target-module>(,<target-module>)*\n\ | |
| \ updates <module> to read <target-module>, regardless\n\ | |
| \ of module declaration. \n\ | |
| \ <target-module> can be ALL-UNNAMED to read all unnamed\n\ | |
| \ modules.\n\ | |
| \ --add-exports <module>/<package>=<target-module>(,<target-module>)*\n\ | |
| \ updates <module> to export <package> to <target-module>,\n\ | |
| \ regardless of module declaration.\n\ | |
| \ <target-module> can be ALL-UNNAMED to export to all\n\ | |
| \ unnamed modules.\n\ | |
| \ --add-opens <module>/<package>=<target-module>(,<target-module>)*\n\ | |
| \ updates <module> to open <package> to\n\ | |
| \ <target-module>, regardless of module declaration.\n\ | |
| \ --limit-modules <module name>[,<module name>...]\n\ | |
| \ limit the universe of observable modules\n\ | |
| \ --patch-module <module>=<file>({0}<file>)*\n\ | |
| \ override or augment a module with classes and resources\n\ | |
| \ in JAR files or directories.\n\ | |
| \ --source <version>\n\ | |
| \ set the version of the source in source-file mode.\n\ | |
| \ --finalization=<value>\n\ | |
| \ controls whether the JVM performs finalization of objects,\n\ | |
| \ where <value> is one of "enabled" or "disabled".\n\ | |
| \ Finalization is enabled by default.\n\ | |
| \ --sun-misc-unsafe-memory-access=<value>\n\ | |
| \ allow or deny usage of unsupported API sun.misc.Unsafe\n\ | |
| \ <value> is one of "allow", "warn", "debug", or "deny".\n\ | |
| \ The default value is "warn".\n\n\ | |
| These extra options are subject to change without notice.\n | |
| # Translators please note do not translate the options themselves | |
| java.launcher.X.macosx.usage=\ | |
| \n\ | |
| The following options are macOS specific:\n\ | |
| \ -XstartOnFirstThread\n\ | |
| \ run the main() method on the first (AppKit) thread\n\ | |
| \ -Xdock:name=<application name>\n\ | |
| \ override default application name displayed in dock\n\ | |
| \ -Xdock:icon=<path to icon file>\n\ | |
| \ override default icon displayed in dock\n\n | |
| # Translators please note do not translate the options themselves | |
| java.launcher.opt.concise.header = Usage: java [java options...] <application> [application arguments...]\n\n\ | |
| \Where <application> is one of:\n\ | |
| \ <mainclass> to execute the main method of a compiled main class\n\ | |
| \ -jar <jarfile>.jar to execute the main class of a JAR archive\n\ | |
| \ -m <module>[/<mainclass>] to execute the main class of a module\n\ | |
| \ <sourcefile>.java to compile and execute a source-file program\n\n\ | |
| \Where key java options include:\n\ | |
| \ --class-path <class path>\n\ | |
| \ where <class path> is a list of directories and JAR archives to search for class files, separated by "{0}"\n\ | |
| \ --module-path <module path>\n\ | |
| \ where <module path> is a list of directories and JAR archives to search for modules, separated by "{0}"\n\ | |
| \ -version\n\ | |
| \ to print product version to the error stream and exit\n\n\ | |
| \For additional help on usage: java --help\n\ | |
| \For an interactive Java environment: jshell | |
| java.launcher.bad.option=\ | |
| \n\ | |
| Unrecognized showSettings option: {0}\n\ | |
| Valid values are \"all\", \"locale\", \"properties\", \"security\", \ | |
| \"system\"(Linux only), \"vm\"\n\ | |
| Valid \"security\" suboption values are \"all\", \"properties\", \"providers\", \"tls\"\n\ | |
| See \"java -X\"\n\ | |
| java.launcher.cls.error1=\ | |
| Error: Could not find or load main class {0}\n\ | |
| Caused by: {1}: {2} | |
| java.launcher.cls.error2=\ | |
| Error: Main method not found in class {0}, please define the main method as:\n\ | |
| \ public static void main(String[] args)\n\ | |
| or a JavaFX application class must extend {1} | |
| java.launcher.cls.error3=\ | |
| Error: JavaFX runtime components are missing, and are required to run this application | |
| java.launcher.cls.error4=\ | |
| Error: LinkageError occurred while loading main class {0}\n\ | |
| \t{1} | |
| java.launcher.cls.error5=\ | |
| Error: Unable to initialize main class {0}\n\ | |
| Caused by: {1}: {2} | |
| java.launcher.cls.error6=\ | |
| Error: no non-private zero argument constructor found in class {0}\n\ | |
| remove private from existing constructor or define as:\n\ | |
| \ public {0}() | |
| java.launcher.cls.error7=\ | |
| Error: non-static inner class {0} constructor can not be invoked \n\ | |
| make inner class static or move inner class out to separate source file | |
| java.launcher.cls.error8=\ | |
| Error: abstract class {0} can not be instantiated\n\ | |
| please use a concrete class | |
| java.launcher.jar.error1=\ | |
| Error: An unexpected error occurred while trying to open file {0} | |
| java.launcher.jar.error2=manifest not found in {0} | |
| java.launcher.jar.error3=no main manifest attribute, in {0} | |
| java.launcher.jar.error4=error loading java agent in {0} | |
| java.launcher.jar.error5=\ | |
| Error: An unexpected error occurred while trying to close file {0} | |
| java.launcher.jar.error.illegal.ena.value=\ | |
| Error: illegal value \"{0}\" for Enable-Native-Access manifest attribute. Only 'ALL-UNNAMED' is allowed | |
| java.launcher.init.error=initialization error | |
| java.launcher.javafx.error1=\ | |
| Error: The JavaFX launchApplication method has the wrong signature, it\n\ | |
| must be declared static and return a value of type void | |
| java.launcher.module.error1=\ | |
| module {0} does not have a ModuleMainClass attribute, use -m <module>/<main-class> | |
| java.launcher.module.error2=\ | |
| Error: Could not find or load main class {0} in module {1} | |
| java.launcher.module.error3=\ | |
| Error: Unable to load main class {0} in module {1}\n\ | |
| Caused by: {2} | |
| java.launcher.module.error4=\ | |
| {0} not found | |
| java.launcher.module.error5=\ | |
| Error: Unable to initialize main class {0} in module {1}\n\ | |
| Caused by: {2}: {3} |