src/java.base/share/classes/sun/launcher/resources/launcher.properties
changeset 50453 f91927a2c8d3
parent 49814 43159a6174fa
child 50546 52b866a1a63a
equal deleted inserted replaced
50452:ccb2c0d5da93 50453:f91927a2c8d3
     1 #
     1 #
     2 # Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     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
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
    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] <mainclass> [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\
       
    29 \   or  {0} [options] -jar <jarfile> [args...]\n\
    29 \           (to execute a jar file)\n\
    30 \           (to execute a jar file)\n\
    30 \   or  {0} [options] -m <module>[/<mainclass>] [args...]\n\
    31 \   or  {0} [options] -m <module>[/<mainclass>] [args...]\n\
    31 \       {0} [options] --module <module>[/<mainclass>] [args...]\n\
    32 \       {0} [options] --module <module>[/<mainclass>] [args...]\n\
    32 \           (to execute the main class in a module)\n\n\
    33 \           (to execute the main class in a module)\n\
    33 \ Arguments following the main class, -jar <jarfile>, -m or --module\n\
    34 \   or  {0} [options] <sourcefile> [args]\n\
    34 \ <module>/<mainclass> are passed as the arguments to main class.\n\n\
    35 \           (to execute a single source-file program)\n\n\
       
    36 \ Arguments following the main class, source file, -jar <jarfile>,\n\
       
    37 \ -m or --module <module>/<mainclass> are passed as the arguments to\n\
       
    38 \ main class.\n\n\
    35 \ where options include:\n\n
    39 \ where options include:\n\n
    36 
    40 
    37 java.launcher.opt.vmselect   =\    {0}\t  to select the "{1}" VM\n
    41 java.launcher.opt.vmselect   =\    {0}\t  to select the "{1}" VM\n
    38 java.launcher.opt.hotspot    =\    {0}\t  is a synonym for the "{1}" VM  [deprecated]\n
    42 java.launcher.opt.hotspot    =\    {0}\t  is a synonym for the "{1}" VM  [deprecated]\n
    39 
    43 
   112 \    @argument files\n\
   116 \    @argument files\n\
   113 \                  one or more argument files containing options\n\
   117 \                  one or more argument files containing options\n\
   114 \    -disable-@files\n\
   118 \    -disable-@files\n\
   115 \                  prevent further argument file expansion\n\
   119 \                  prevent further argument file expansion\n\
   116 \    --enable-preview\n\
   120 \    --enable-preview\n\
   117 \                  allow classes to depend on preview features of this release
   121 \                  allow classes to depend on preview features of this release\n\
   118 \To specify an argument for a long option, you can use --<name>=<value> or\n\
   122 \To specify an argument for a long option, you can use --<name>=<value> or\n\
   119 \--<name> <value>.\n
   123 \--<name> <value>.\n
   120 
   124 
   121 # Translators please note do not translate the options themselves
   125 # Translators please note do not translate the options themselves
   122 java.launcher.X.usage=\n\
   126 java.launcher.X.usage=\n\
   174 \    --limit-modules <module name>[,<module name>...]\n\
   178 \    --limit-modules <module name>[,<module name>...]\n\
   175 \                      limit the universe of observable modules\n\
   179 \                      limit the universe of observable modules\n\
   176 \    --patch-module <module>=<file>({0}<file>)*\n\
   180 \    --patch-module <module>=<file>({0}<file>)*\n\
   177 \                      override or augment a module with classes and resources\n\
   181 \                      override or augment a module with classes and resources\n\
   178 \                      in JAR files or directories.\n\
   182 \                      in JAR files or directories.\n\
   179 \    --disable-@files  disable further argument file expansion\n\n\
   183 \    --disable-@files  disable further argument file expansion\n\
       
   184 \    --source <version>\n\
       
   185 \                      set the version of the source in source-file mode.\n\n\
   180 These extra options are subject to change without notice.\n
   186 These extra options are subject to change without notice.\n
   181 
   187 
   182 # Translators please note do not translate the options themselves
   188 # Translators please note do not translate the options themselves
   183 java.launcher.X.macosx.usage=\
   189 java.launcher.X.macosx.usage=\
   184 \n\
   190 \n\