jdk/src/java.base/share/classes/sun/launcher/resources/launcher.properties
changeset 40261 86a49ba76f52
parent 39338 83b771c59414
child 40982 63b3cca518d9
equal deleted inserted replaced
40260:4e69b50ccd97 40261:86a49ba76f52
    25 
    25 
    26 # Translators please note do not translate the options themselves
    26 # Translators please note do not translate the options themselves
    27 java.launcher.opt.header  =   Usage: {0} [options] class [args...]\n\
    27 java.launcher.opt.header  =   Usage: {0} [options] class [args...]\n\
    28 \           (to execute a class)\n   or  {0} [options] -jar jarfile [args...]\n\
    28 \           (to execute a class)\n   or  {0} [options] -jar jarfile [args...]\n\
    29 \           (to execute a jar file)\n\
    29 \           (to execute a jar file)\n\
    30 \   or  {0} [options] -mp <modulepath> -m <modulename>[/<mainclass>] [args...]\n\
    30 \   or  {0} [options] -p <modulepath> -m <modulename>[/<mainclass>] [args...]\n\
    31 \           (to execute the main class in a module)\n\
    31 \           (to execute the main class in a module)\n\
    32 where options include:\n
    32 where options include:\n
    33 
    33 
    34 java.launcher.opt.datamodel  =\    -d{0}\t  use a {0}-bit data model if available\n
    34 java.launcher.opt.datamodel  =\    -d{0}\t  use a {0}-bit data model if available\n
    35 java.launcher.opt.vmselect   =\    {0}\t  to select the "{1}" VM\n
    35 java.launcher.opt.vmselect   =\    {0}\t  to select the "{1}" VM\n
    39 java.launcher.ergo.message2  =\                  because you are running on a server-class machine.\n
    39 java.launcher.ergo.message2  =\                  because you are running on a server-class machine.\n
    40 
    40 
    41 # Translators please note do not translate the options themselves
    41 # Translators please note do not translate the options themselves
    42 java.launcher.opt.footer     =\    -cp <class search path of directories and zip/jar files>\n\
    42 java.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\
    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\
    44 \                  A {0} separated list of directories, JAR archives,\n\
    45 \                  A {0} separated list of directories, JAR archives,\n\
    45 \                  and ZIP archives to search for class files.\n\
    46 \                  and ZIP archives to search for class files.\n\
    46 \    -mp <module path>\n\
    47 \    -p <module path>\n\
    47 \    -modulepath <module path>...\n\
    48 \    --module-path <module path>...\n\
    48 \                  A {0} separated list of directories, each directory\n\
    49 \                  A {0} separated list of directories, each directory\n\
    49 \                  is a directory of modules.\n\
    50 \                  is a directory of modules.\n\
    50 \    -upgrademodulepath <module path>...\n\
    51 \    --upgrade-module-path <module path>...\n\
    51 \                  A {0} separated list of directories, each directory\n\
    52 \                  A {0} separated list of directories, each directory\n\
    52 \                  is a directory of modules that replace upgradeable\n\
    53 \                  is a directory of modules that replace upgradeable\n\
    53 \                  modules in the runtime image\n\
    54 \                  modules in the runtime image\n\
    54 \    -m <modulename>[/<mainclass>]\n\
    55 \    -m <module>[/<mainclass>]\n\
       
    56 \    --module <modulename>[/<mainclass>]\n\
    55 \                  the initial module to resolve, and the name of the main class\n\
    57 \                  the initial module to resolve, and the name of the main class\n\
    56 \                  to execute if not specified by the module\n\
    58 \                  to execute if not specified by the module\n\
    57 \    -addmods <modulename>[,<modulename>...]\n\
    59 \    --add-modules <modulename>[,<modulename>...]\n\
    58 \                  root modules to resolve in addition to the initial module\n\
    60 \                  root modules to resolve in addition to the initial module.\n\
    59 \    -limitmods <modulename>[,<modulename>...]\n\
    61 \                  <modulename> can also be ALL-DEFAULT, ALL-SYSTEM,\n\
       
    62 \                  ALL-MODULE-PATH.\n\
       
    63 \    --limit-modules <modulename>[,<modulename>...]\n\
    60 \                  limit the universe of observable modules\n\
    64 \                  limit the universe of observable modules\n\
    61 \    -listmods[:<modulename>[,<modulename>...]]\n\
    65 \    --list-modules [<modulename>[,<modulename>...]]\n\
    62 \                  list the observable modules and exit\n\
    66 \                  list the observable modules and exit\n\
    63 \    --dry-run     create VM but do not execute main method.\n\
    67 \    --dry-run     create VM but do not execute main method.\n\
    64 \                  This --dry-run option may be useful for validating the\n\
    68 \                  This --dry-run option may be useful for validating the\n\
    65 \                  command-line options such as the module system configuration.\n\
    69 \                  command-line options such as the module system configuration.\n\
    66 \    -D<name>=<value>\n\
    70 \    -D<name>=<value>\n\
    67 \                  set a system property\n\
    71 \                  set a system property\n\
    68 \    -verbose:[class|gc|jni]\n\
    72 \    -verbose:[class|gc|jni]\n\
    69 \                  enable verbose output\n\
    73 \                  enable verbose output\n\
    70 \    -version      print product version and exit\n\
    74 \    -version      print product version and exit\n\
    71 \    -showversion  print product version and continue\n\
    75 \    -showversion  print product version and continue\n\
    72 \    -? -help      print this help message\n\
    76 \    -? -help --help\n\
       
    77 \                  print this help message\n\
    73 \    -X            print help on non-standard options\n\
    78 \    -X            print help on non-standard options\n\
    74 \    -ea[:<packagename>...|:<classname>]\n\
    79 \    -ea[:<packagename>...|:<classname>]\n\
    75 \    -enableassertions[:<packagename>...|:<classname>]\n\
    80 \    -enableassertions[:<packagename>...|:<classname>]\n\
    76 \                  enable assertions with specified granularity\n\
    81 \                  enable assertions with specified granularity\n\
    77 \    -da[:<packagename>...|:<classname>]\n\
    82 \    -da[:<packagename>...|:<classname>]\n\
    89 \    -javaagent:<jarpath>[=<options>]\n\
    94 \    -javaagent:<jarpath>[=<options>]\n\
    90 \                  load Java programming language agent, see java.lang.instrument\n\
    95 \                  load Java programming language agent, see java.lang.instrument\n\
    91 \    -splash:<imagepath>\n\
    96 \    -splash:<imagepath>\n\
    92 \                  show splash screen with specified image\n\
    97 \                  show splash screen with specified image\n\
    93 \    @<filepath>   read options from the specified file\n\
    98 \    @<filepath>   read options from the specified file\n\
       
    99 \To specify an argument for a long option, you can use --<name>=<value> or\n\
       
   100 \--<name> <value>.\n\
    94 
   101 
    95 See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
   102 See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
    96 
   103 
    97 # Translators please note do not translate the options themselves
   104 # Translators please note do not translate the options themselves
    98 java.launcher.X.usage=\
   105 java.launcher.X.usage=\
   121 \    -XshowSettings:vm show all vm related settings and continue\n\
   128 \    -XshowSettings:vm show all vm related settings and continue\n\
   122 \    -XshowSettings:properties\n\
   129 \    -XshowSettings:properties\n\
   123 \                      show all property settings and continue\n\
   130 \                      show all property settings and continue\n\
   124 \    -XshowSettings:locale\n\
   131 \    -XshowSettings:locale\n\
   125 \                      show all locale related settings and continue\n\
   132 \                      show all locale related settings and continue\n\
   126 \    -XaddReads:<module>=<other-module>(,<other-module>)*\n\
   133 \    -Xdisable-@files  disable further argument file expansion\n\
   127 \                      <module> reads other modules,\n\
   134 \    --add-reads <module>=<target-module>(,<target-module>)*\n\
   128 \                      regardless of module declaration\n\
   135 \                      updates <module> to read <target-module>, regardless\n\
   129 \    -XaddExports:<module>/<package>=<other-module>(,<other-module>)*\n\
   136 \                      of module declaration. \n\
   130 \                      <module> exports <package> to other modules,\n\
   137 \                      <target-module> can be ALL-UNNAMED to read all unnamed\n\
   131 \                      regardless of module declaration\n\
   138 \                      modules.\n\
   132 \    -Xpatch:<module>=<file>({0}<file>)*\n\
   139 \    --add-exports <module>/<package>=<target-module>(,<target-module>)*\n\
       
   140 \                      updates <module> to export <package> to <target-module>,\n\
       
   141 \                      regardless of module declaration.\n\
       
   142 \                      <target-module> can be ALL-UNNAMED to export to all\n\
       
   143 \                      unnamed modules.\n\
       
   144 \    --patch-module <module>=<file>({0}<file>)*\n\
   133 \                      Override or augment a module with classes and resources\n\
   145 \                      Override or augment a module with classes and resources\n\
   134 \                      in JAR files or directories\n\
   146 \                      in JAR files or directories.\n\n\
   135 \    -Xdisable-@files  disable further argument file expansion\n\n\
   147 These options are non-standard and subject to change without notice.\n
   136 The -X options are non-standard and subject to change without notice.\n
       
   137 
   148 
   138 # Translators please note do not translate the options themselves
   149 # Translators please note do not translate the options themselves
   139 java.launcher.X.macosx.usage=\
   150 java.launcher.X.macosx.usage=\
   140 \n\
   151 \n\
   141 The following options are Mac OS X specific:\n\
   152 The following options are Mac OS X specific:\n\