< prev index next >

src/java.base/share/classes/sun/launcher/resources/launcher.properties

Print this page




   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 # Translators please note do not translate the options themselves
  27 java.launcher.opt.header  =   Usage: {0} [options] class [args...]\n\
  28 \           (to execute a class)\n   or  {0} [options] -jar jarfile [args...]\n\
  29 \           (to execute a jar file)\n\
  30 \   or  {0} [options] -p <modulepath> -m <modulename>[/<mainclass>] [args...]\n\

  31 \           (to execute the main class in a module)\n\n\
  32 where options include:\n\n


  33 
  34 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
  36 java.launcher.opt.hotspot    =\    {0}\t  is a synonym for the "{1}" VM  [deprecated]\n
  37 
  38 # Translators please note do not translate the options themselves
  39 java.launcher.opt.footer     =\    -cp <class search path of directories and zip/jar files>\n\
  40 \    -classpath <class search path of directories and zip/jar files>\n\
  41 \    --class-path <class search path of directories and zip/jar files>\n\
  42 \                  A {0} separated list of directories, JAR archives,\n\
  43 \                  and ZIP archives to search for class files.\n\
  44 \    -p <module path>\n\
  45 \    --module-path <module path>...\n\
  46 \                  A {0} separated list of directories, each directory\n\
  47 \                  is a directory of modules.\n\
  48 \    --upgrade-module-path <module path>...\n\
  49 \                  A {0} separated list of directories, each directory\n\
  50 \                  is a directory of modules that replace upgradeable\n\
  51 \                  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\
  57 \                  root modules to resolve in addition to the initial module.\n\
  58 \                  <modulename> can also be ALL-DEFAULT, ALL-SYSTEM,\n\
  59 \                  ALL-MODULE-PATH.\n\
  60 \    --limit-modules <modulename>[,<modulename>...]\n\
  61 \                  limit the universe of observable modules\n\
  62 \    --list-modules [<modulename>[,<modulename>...]]\n\
  63 \                  list the observable modules and exit\n\
  64 \    --dry-run     create VM but do not execute main method.\n\
  65 \                  This --dry-run option may be useful for validating the\n\
  66 \                  command-line options such as the module system configuration.\n\
  67 \    -D<name>=<value>\n\
  68 \                  set a system property\n\
  69 \    -verbose:[class|gc|jni]\n\
  70 \                  enable verbose output\n\
  71 \    -version      print product version to the error stream and exit\n\
  72 \    --version     print product version to the output stream and exit\n\
  73 \    -showversion  print product version to the error stream and continue\n\
  74 \    --show-version\n\
  75 \                  print product version to the output stream and continue\n\


 140 \    -XshowSettings:locale\n\
 141 \                      show all locale related settings and continue\n\
 142 \    -XshowSettings:properties\n\
 143 \                      show all property settings and continue\n\
 144 \    -XshowSettings:vm show all vm related settings and continue\n\
 145 \    -Xss<size>        set java thread stack size\n\
 146 \    -Xverify          sets the mode of the bytecode verifier\n\
 147 \    --add-reads <module>=<target-module>(,<target-module>)*\n\
 148 \                      updates <module> to read <target-module>, regardless\n\
 149 \                      of module declaration. \n\
 150 \                      <target-module> can be ALL-UNNAMED to read all unnamed\n\
 151 \                      modules.\n\
 152 \    --add-exports <module>/<package>=<target-module>(,<target-module>)*\n\
 153 \                      updates <module> to export <package> to <target-module>,\n\
 154 \                      regardless of module declaration.\n\
 155 \                      <target-module> can be ALL-UNNAMED to export to all\n\
 156 \                      unnamed modules.\n\
 157 \    --add-opens <module>/<package>=<target-module>(,<target-module>)*\n\
 158 \                      updates <module> to open <package> to\n\
 159 \                      <target-module>, regardless of module declaration.\n\




 160 \    --disable-@files  disable further argument file expansion\n\
 161 \    --patch-module <module>=<file>({0}<file>)*\n\
 162 \                      Override or augment a module with classes and resources\n\
 163 \                      in JAR files or directories.\n\n\
 164 These extra options are subject to change without notice.\n
 165 
 166 # Translators please note do not translate the options themselves
 167 java.launcher.X.macosx.usage=\
 168 \n\
 169 The following options are Mac OS X specific:\n\
 170 \    -XstartOnFirstThread\n\
 171 \                      run the main() method on the first (AppKit) thread\n\
 172 \    -Xdock:name=<application name>\n\
 173 \                      override default application name displayed in dock\n\
 174 \    -Xdock:icon=<path to icon file>\n\
 175 \                      override default icon displayed in dock\n\n
 176 
 177 java.launcher.cls.error1=\
 178     Error: Could not find or load main class {0}\n\
 179     Caused by: {1}: {2}


 191 java.launcher.cls.error5=\
 192     Error: JavaFX runtime components are missing, and are required to run this application
 193 java.launcher.cls.error6=\
 194     Error: LinkageError occurred while loading main class {0}\n\
 195     \t{1}
 196 java.launcher.jar.error1=\
 197     Error: An unexpected error occurred while trying to open file {0}
 198 java.launcher.jar.error2=manifest not found in {0}
 199 java.launcher.jar.error3=no main manifest attribute, in {0}
 200 java.launcher.init.error=initialization error
 201 java.launcher.javafx.error1=\
 202     Error: The JavaFX launchApplication method has the wrong signature, it\n\
 203     must be declared static and return a value of type void
 204 java.launcher.module.error1=\
 205     module {0} does not have a MainClass attribute, use -m <module>/<main-class>
 206 java.launcher.module.error2=\
 207     Error: Could not find or load main class {0} in module {1}
 208 java.launcher.module.error3=\
 209     Error: Unable to load main class {0} from module {1}\n\
 210     \t{2}


 211 


   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 # Translators please note do not translate the options themselves
  27 java.launcher.opt.header  =   Usage: {0} [options] <mainclass> [args...]\n\
  28 \           (to execute a class)\n   or  {0} [options] -jar <jarfile> [args...]\n\
  29 \           (to execute a jar file)\n\
  30 \   or  {0} [options] -m <module>[/<mainclass>] [args...]\n\
  31 \       {0} [options] --module <module>[/<mainclass>] [args...]\n\
  32 \           (to execute the main class in a module)\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
  36 
  37 java.launcher.opt.datamodel  =\    -d{0}\t  Deprecated, will be removed in a future release\n
  38 java.launcher.opt.vmselect   =\    {0}\t  to select the "{1}" VM\n
  39 java.launcher.opt.hotspot    =\    {0}\t  is a synonym for the "{1}" VM  [deprecated]\n
  40 
  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\
  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\
  45 \                  A {0} separated list of directories, JAR archives,\n\
  46 \                  and ZIP archives to search for class files.\n\
  47 \    -p <module path>\n\
  48 \    --module-path <module path>...\n\
  49 \                  A {0} separated list of directories, each directory\n\
  50 \                  is a directory of modules.\n\
  51 \    --upgrade-module-path <module path>...\n\
  52 \                  A {0} separated list of directories, each directory\n\
  53 \                  is a directory of modules that replace upgradeable\n\
  54 \                  modules in the runtime image\n\




  55 \    --add-modules <modulename>[,<modulename>...]\n\
  56 \                  root modules to resolve in addition to the initial module.\n\
  57 \                  <modulename> can also be ALL-DEFAULT, ALL-SYSTEM,\n\
  58 \                  ALL-MODULE-PATH.\n\
  59 \    --limit-modules <modulename>[,<modulename>...]\n\
  60 \                  limit the universe of observable modules\n\
  61 \    --list-modules [<modulename>[,<modulename>...]]\n\
  62 \                  list the observable modules and exit\n\
  63 \    --dry-run     create VM but do not execute main method.\n\
  64 \                  This --dry-run option may be useful for validating the\n\
  65 \                  command-line options such as the module system configuration.\n\
  66 \    -D<name>=<value>\n\
  67 \                  set a system property\n\
  68 \    -verbose:[class|gc|jni]\n\
  69 \                  enable verbose output\n\
  70 \    -version      print product version to the error stream and exit\n\
  71 \    --version     print product version to the output stream and exit\n\
  72 \    -showversion  print product version to the error stream and continue\n\
  73 \    --show-version\n\
  74 \                  print product version to the output stream and continue\n\


 139 \    -XshowSettings:locale\n\
 140 \                      show all locale related settings and continue\n\
 141 \    -XshowSettings:properties\n\
 142 \                      show all property settings and continue\n\
 143 \    -XshowSettings:vm show all vm related settings and continue\n\
 144 \    -Xss<size>        set java thread stack size\n\
 145 \    -Xverify          sets the mode of the bytecode verifier\n\
 146 \    --add-reads <module>=<target-module>(,<target-module>)*\n\
 147 \                      updates <module> to read <target-module>, regardless\n\
 148 \                      of module declaration. \n\
 149 \                      <target-module> can be ALL-UNNAMED to read all unnamed\n\
 150 \                      modules.\n\
 151 \    --add-exports <module>/<package>=<target-module>(,<target-module>)*\n\
 152 \                      updates <module> to export <package> to <target-module>,\n\
 153 \                      regardless of module declaration.\n\
 154 \                      <target-module> can be ALL-UNNAMED to export to all\n\
 155 \                      unnamed modules.\n\
 156 \    --add-opens <module>/<package>=<target-module>(,<target-module>)*\n\
 157 \                      updates <module> to open <package> to\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\
 163 \    --disable-@files  disable further argument file expansion\n\
 164 \    --patch-module <module>=<file>({0}<file>)*\n\
 165 \                      Override or augment a module with classes and resources\n\
 166 \                      in JAR files or directories.\n\n\
 167 These extra options are subject to change without notice.\n
 168 
 169 # Translators please note do not translate the options themselves
 170 java.launcher.X.macosx.usage=\
 171 \n\
 172 The following options are Mac OS X specific:\n\
 173 \    -XstartOnFirstThread\n\
 174 \                      run the main() method on the first (AppKit) thread\n\
 175 \    -Xdock:name=<application name>\n\
 176 \                      override default application name displayed in dock\n\
 177 \    -Xdock:icon=<path to icon file>\n\
 178 \                      override default icon displayed in dock\n\n
 179 
 180 java.launcher.cls.error1=\
 181     Error: Could not find or load main class {0}\n\
 182     Caused by: {1}: {2}


 194 java.launcher.cls.error5=\
 195     Error: JavaFX runtime components are missing, and are required to run this application
 196 java.launcher.cls.error6=\
 197     Error: LinkageError occurred while loading main class {0}\n\
 198     \t{1}
 199 java.launcher.jar.error1=\
 200     Error: An unexpected error occurred while trying to open file {0}
 201 java.launcher.jar.error2=manifest not found in {0}
 202 java.launcher.jar.error3=no main manifest attribute, in {0}
 203 java.launcher.init.error=initialization error
 204 java.launcher.javafx.error1=\
 205     Error: The JavaFX launchApplication method has the wrong signature, it\n\
 206     must be declared static and return a value of type void
 207 java.launcher.module.error1=\
 208     module {0} does not have a MainClass attribute, use -m <module>/<main-class>
 209 java.launcher.module.error2=\
 210     Error: Could not find or load main class {0} in module {1}
 211 java.launcher.module.error3=\
 212     Error: Unable to load main class {0} from module {1}\n\
 213     \t{2}
 214 java.launcher.permitaccess.warning=\
 215     WARNING: Main manifest of {0} contains {1} attribute to permit illegal access
 216 
< prev index next >