jdk/src/java.base/share/classes/sun/launcher/resources/launcher.properties
changeset 44360 a83651664fa3
parent 44339 fb097b1398d9
parent 44359 c6761862ca0b
child 44364 9cc9dc782213
equal deleted inserted replaced
44358:d1d1a888d492 44360:a83651664fa3
    22 # or visit www.oracle.com if you need additional information or have any
    22 # or visit www.oracle.com if you need additional information or have any
    23 # questions.
    23 # questions.
    24 #
    24 #
    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] <mainclass> [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] -p <modulepath> -m <modulename>[/<mainclass>] [args...]\n\
    30 \   or  {0} [options] -m <module>[/<mainclass>] [args...]\n\
       
    31 \       {0} [options] --module <module>[/<mainclass>] [args...]\n\
    31 \           (to execute the main class in a module)\n\n\
    32 \           (to execute the main class in a module)\n\n\
    32 where options include:\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
    33 
    36 
    34 java.launcher.opt.datamodel  =\    -d{0}\t  Deprecated, will be removed in a future release\n
    37 java.launcher.opt.datamodel  =\    -d{0}\t  Deprecated, will be removed in a future release\n
    35 java.launcher.opt.vmselect   =\    {0}\t  to select the "{1}" VM\n
    38 java.launcher.opt.vmselect   =\    {0}\t  to select the "{1}" VM\n
    36 java.launcher.opt.hotspot    =\    {0}\t  is a synonym for the "{1}" VM  [deprecated]\n
    39 java.launcher.opt.hotspot    =\    {0}\t  is a synonym for the "{1}" VM  [deprecated]\n
    37 
    40 
    47 \                  is a directory of modules.\n\
    50 \                  is a directory of modules.\n\
    48 \    --upgrade-module-path <module path>...\n\
    51 \    --upgrade-module-path <module path>...\n\
    49 \                  A {0} separated list of directories, each directory\n\
    52 \                  A {0} separated list of directories, each directory\n\
    50 \                  is a directory of modules that replace upgradeable\n\
    53 \                  is a directory of modules that replace upgradeable\n\
    51 \                  modules in the runtime image\n\
    54 \                  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\
    55 \    --add-modules <modulename>[,<modulename>...]\n\
    57 \                  root modules to resolve in addition to the initial module.\n\
    56 \                  root modules to resolve in addition to the initial module.\n\
    58 \                  <modulename> can also be ALL-DEFAULT, ALL-SYSTEM,\n\
    57 \                  <modulename> can also be ALL-DEFAULT, ALL-SYSTEM,\n\
    59 \                  ALL-MODULE-PATH.\n\
    58 \                  ALL-MODULE-PATH.\n\
    60 \    --limit-modules <modulename>[,<modulename>...]\n\
    59 \    --limit-modules <modulename>[,<modulename>...]\n\
   155 \                      <target-module> can be ALL-UNNAMED to export to all\n\
   154 \                      <target-module> can be ALL-UNNAMED to export to all\n\
   156 \                      unnamed modules.\n\
   155 \                      unnamed modules.\n\
   157 \    --add-opens <module>/<package>=<target-module>(,<target-module>)*\n\
   156 \    --add-opens <module>/<package>=<target-module>(,<target-module>)*\n\
   158 \                      updates <module> to open <package> to\n\
   157 \                      updates <module> to open <package> to\n\
   159 \                      <target-module>, regardless of module declaration.\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\
   160 \    --disable-@files  disable further argument file expansion\n\
   163 \    --disable-@files  disable further argument file expansion\n\
   161 \    --patch-module <module>=<file>({0}<file>)*\n\
   164 \    --patch-module <module>=<file>({0}<file>)*\n\
   162 \                      Override or augment a module with classes and resources\n\
   165 \                      Override or augment a module with classes and resources\n\
   163 \                      in JAR files or directories.\n\n\
   166 \                      in JAR files or directories.\n\n\
   164 These extra options are subject to change without notice.\n
   167 These extra options are subject to change without notice.\n
   206 java.launcher.module.error2=\
   209 java.launcher.module.error2=\
   207     Error: Could not find or load main class {0} in module {1}
   210     Error: Could not find or load main class {0} in module {1}
   208 java.launcher.module.error3=\
   211 java.launcher.module.error3=\
   209     Error: Unable to load main class {0} from module {1}\n\
   212     Error: Unable to load main class {0} from module {1}\n\
   210     \t{2}
   213     \t{2}
   211 
   214 java.launcher.permitaccess.warning=\
       
   215     WARNING: Main manifest of {0} contains {1} attribute to permit illegal access
       
   216