< prev index next >
jdk/src/java.base/share/classes/sun/launcher/resources/launcher.properties
Print this page
@@ -25,11 +25,11 @@
# Translators please note do not translate the options themselves
java.launcher.opt.header = Usage: {0} [options] class [args...]\n\
\ (to execute a class)\n or {0} [options] -jar jarfile [args...]\n\
\ (to execute a jar file)\n\
-\ or {0} [options] -mp <modulepath> -m <modulename>[/<mainclass>] [args...]\n\
+\ or {0} [options] -p <modulepath> -m <modulename>[/<mainclass>] [args...]\n\
\ (to execute the main class in a module)\n\
where options include:\n
java.launcher.opt.datamodel =\ -d{0}\t use a {0}-bit data model if available\n
java.launcher.opt.vmselect =\ {0}\t to select the "{1}" VM\n
@@ -39,39 +39,44 @@
java.launcher.ergo.message2 =\ because you are running on a server-class machine.\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\
-\ -mp <module path>\n\
-\ -modulepath <module path>...\n\
+\ -p <module path>\n\
+\ --module-path <module path>...\n\
\ A {0} separated list of directories, each directory\n\
\ is a directory of modules.\n\
-\ -upgrademodulepath <module path>...\n\
+\ --upgrade-module-path <module path>...\n\
\ A {0} separated list of directories, each directory\n\
\ is a directory of modules that replace upgradeable\n\
\ modules in the runtime image\n\
-\ -m <modulename>[/<mainclass>]\n\
+\ -m <module>[/<mainclass>]\n\
+\ --module <modulename>[/<mainclass>]\n\
\ the initial module to resolve, and the name of the main class\n\
\ to execute if not specified by the module\n\
-\ -addmods <modulename>[,<modulename>...]\n\
-\ root modules to resolve in addition to the initial module\n\
-\ -limitmods <modulename>[,<modulename>...]\n\
+\ --add-modules <modulename>[,<modulename>...]\n\
+\ root modules to resolve in addition to the initial module.\n\
+\ <modulename> can also be ALL-DEFAULT, ALL-SYSTEM,\n\
+\ ALL-MODULE-PATH.\n\
+\ --limit-modules <modulename>[,<modulename>...]\n\
\ limit the universe of observable modules\n\
-\ -listmods[:<modulename>[,<modulename>...]]\n\
+\ --list-modules [<modulename>[,<modulename>...]]\n\
\ list the observable modules and exit\n\
\ --dry-run create VM but do not execute main method.\n\
\ This --dry-run option may be useful for validating the\n\
\ command-line options such as the module system configuration.\n\
\ -D<name>=<value>\n\
\ set a system property\n\
\ -verbose:[class|gc|jni]\n\
\ enable verbose output\n\
\ -version print product version and exit\n\
\ -showversion print product version and continue\n\
-\ -? -help print this help message\n\
+\ -? -help --help\n\
+\ print this help message\n\
\ -X print help on non-standard options\n\
\ -ea[:<packagename>...|:<classname>]\n\
\ -enableassertions[:<packagename>...|:<classname>]\n\
\ enable assertions with specified granularity\n\
\ -da[:<packagename>...|:<classname>]\n\
@@ -89,10 +94,12 @@
\ -javaagent:<jarpath>[=<options>]\n\
\ load Java programming language agent, see java.lang.instrument\n\
\ -splash:<imagepath>\n\
\ show splash screen with specified image\n\
\ @<filepath> read options from the specified file\n\
+\To specify an argument for a long option, you can use --<name>=<value> or\n\
+\--<name> <value>.\n\
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
# Translators please note do not translate the options themselves
java.launcher.X.usage=\
@@ -121,21 +128,25 @@
\ -XshowSettings:vm show all vm related settings and continue\n\
\ -XshowSettings:properties\n\
\ show all property settings and continue\n\
\ -XshowSettings:locale\n\
\ show all locale related settings and continue\n\
-\ -XaddReads:<module>=<other-module>(,<other-module>)*\n\
-\ <module> reads other modules,\n\
-\ regardless of module declaration\n\
-\ -XaddExports:<module>/<package>=<other-module>(,<other-module>)*\n\
-\ <module> exports <package> to other modules,\n\
-\ regardless of module declaration\n\
-\ -Xpatch:<module>=<file>({0}<file>)*\n\
+\ -Xdisable-@files disable further argument file expansion\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\
+\ --patch-module <module>=<file>({0}<file>)*\n\
\ Override or augment a module with classes and resources\n\
-\ in JAR files or directories\n\
-\ -Xdisable-@files disable further argument file expansion\n\n\
-The -X options are non-standard and subject to change without notice.\n
+\ in JAR files or directories.\n\n\
+These options are non-standard and 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 Mac OS X specific:\n\
< prev index next >