1 #
   2 # Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   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
   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] -mp <modulepath> -m <modulename>[/<mainclass>] [args...]\n\
  31 \           (to execute the main class in a module)\n\
  32 where options include:\n
  33 
  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
  36 java.launcher.opt.hotspot    =\    {0}\t  is a synonym for the "{1}" VM  [deprecated]\n
  37 
  38 java.launcher.ergo.message1  =\                  The default VM is {0}
  39 java.launcher.ergo.message2  =\                  because you are running on a server-class machine.\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 \                  A {0} separated list of directories, JAR archives,\n\
  45 \                  and ZIP archives to search for class files.\n\
  46 \    -mp <module path>\n\
  47 \    -modulepath <module path>...\n\
  48 \                  A {0} separated list of directories, each directory\n\
  49 \                  is a directory of modules.\n\
  50 \    -upgrademodulepath <module path>...\n\
  51 \                  A {0} separated list of directories, each directory\n\
  52 \                  is a directory of modules that replace upgradeable\n\
  53 \                  modules in the runtime image\n\
  54 \    -m <modulename>[/<mainclass>]\n\
  55 \                  the initial module to resolve, and the name of the main class\n\
  56 \                  to execute if not specified by the module\n\
  57 \    -addmods <modulename>[,<modulename>...]\n\
  58 \                  root modules to resolve in addition to the initial module\n\
  59 \    -limitmods <modulename>[,<modulename>...]\n\
  60 \                  limit the universe of observable modules\n\
  61 \    -listmods[:<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 and exit\n\
  71 \    -showversion  print product version and continue\n\
  72 \    -? -help      print this help message\n\
  73 \    -X            print help on non-standard options\n\
  74 \    -ea[:<packagename>...|:<classname>]\n\
  75 \    -enableassertions[:<packagename>...|:<classname>]\n\
  76 \                  enable assertions with specified granularity\n\
  77 \    -da[:<packagename>...|:<classname>]\n\
  78 \    -disableassertions[:<packagename>...|:<classname>]\n\
  79 \                  disable assertions with specified granularity\n\
  80 \    -esa | -enablesystemassertions\n\
  81 \                  enable system assertions\n\
  82 \    -dsa | -disablesystemassertions\n\
  83 \                  disable system assertions\n\
  84 \    -agentlib:<libname>[=<options>]\n\
  85 \                  load native agent library <libname>, e.g. -agentlib:jdwp\n\
  86 \                  see also -agentlib:jdwp=help\n\
  87 \    -agentpath:<pathname>[=<options>]\n\
  88 \                  load native agent library by full pathname\n\
  89 \    -javaagent:<jarpath>[=<options>]\n\
  90 \                  load Java programming language agent, see java.lang.instrument\n\
  91 \    -splash:<imagepath>\n\
  92 \                  show splash screen with specified image\n\
  93 \    @<filepath>   read options from the specified file\n\
  94 
  95 See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
  96 
  97 # Translators please note do not translate the options themselves
  98 java.launcher.X.usage=\
  99 \    -Xmixed           mixed mode execution (default)\n\
 100 \    -Xint             interpreted mode execution only\n\
 101 \    -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\
 102 \                      append to end of bootstrap class path\n\
 103 \    -Xdiag            show additional diagnostic messages\n\
 104 \    -Xdiag:resolver   show resolver diagnostic messages\n\
 105 \    -Xnoclassgc       disable class garbage collection\n\
 106 \    -Xloggc:<file>    log GC status to a file with time stamps\n\
 107 \    -Xbatch           disable background compilation\n\
 108 \    -Xms<size>        set initial Java heap size\n\
 109 \    -Xmx<size>        set maximum Java heap size\n\
 110 \    -Xss<size>        set java thread stack size\n\
 111 \    -Xprof            output cpu profiling data\n\
 112 \    -Xfuture          enable strictest checks, anticipating future default\n\
 113 \    -Xrs              reduce use of OS signals by Java/VM (see documentation)\n\
 114 \    -Xcheck:jni       perform additional checks for JNI functions\n\
 115 \    -Xshare:off       do not attempt to use shared class data\n\
 116 \    -Xshare:auto      use shared class data if possible (default)\n\
 117 \    -Xshare:on        require using shared class data, otherwise fail.\n\
 118 \    -XshowSettings    show all settings and continue\n\
 119 \    -XshowSettings:all\n\
 120 \                      show all settings and continue\n\
 121 \    -XshowSettings:vm show all vm related settings and continue\n\
 122 \    -XshowSettings:properties\n\
 123 \                      show all property settings and continue\n\
 124 \    -XshowSettings:locale\n\
 125 \                      show all locale related settings and continue\n\
 126 \    -XaddReads:<module>=<other-module>(,<other-module>)*\n\
 127 \                      <module> reads other modules,\n\
 128 \                      regardless of module declaration\n\
 129 \    -XaddExports:<module>/<package>=<other-module>(,<other-module>)*\n\
 130 \                      <module> exports <package> to other modules,\n\
 131 \                      regardless of module declaration\n\
 132 \    -Xpatch:<module>=<file>({0}<file>)*\n\
 133 \                      Override or augment a module with classes and resources\n\
 134 \                      in JAR files or directories\n\
 135 \    -Xdisable-@files  disable further argument file expansion\n\n\
 136 The -X options are non-standard and subject to change without notice.\n
 137 
 138 # Translators please note do not translate the options themselves
 139 java.launcher.X.macosx.usage=\
 140 \n\
 141 The following options are Mac OS X specific:\n\
 142 \    -XstartOnFirstThread\n\
 143 \                      run the main() method on the first (AppKit) thread\n\
 144 \    -Xdock:name=<application name>\n\
 145 \                      override default application name displayed in dock\n\
 146 \    -Xdock:icon=<path to icon file>\n\
 147 \                      override default icon displayed in dock\n\n
 148 
 149 java.launcher.cls.error1=\
 150     Error: Could not find or load main class {0}
 151 java.launcher.cls.error2=\
 152     Error: Main method is not {0} in class {1}, please define the main method as:\n\
 153 \   public static void main(String[] args)
 154 java.launcher.cls.error3=\
 155     Error: Main method must return a value of type void in class {0}, please \n\
 156     define the main method as:\n\
 157 \   public static void main(String[] args)
 158 java.launcher.cls.error4=\
 159     Error: Main method not found in class {0}, please define the main method as:\n\
 160 \   public static void main(String[] args)\n\
 161     or a JavaFX application class must extend {1}
 162 java.launcher.cls.error5=\
 163     Error: JavaFX runtime components are missing, and are required to run this application
 164 java.launcher.jar.error1=\
 165     Error: An unexpected error occurred while trying to open file {0}
 166 java.launcher.jar.error2=manifest not found in {0}
 167 java.launcher.jar.error3=no main manifest attribute, in {0}
 168 java.launcher.init.error=initialization error
 169 java.launcher.javafx.error1=\
 170     Error: The JavaFX launchApplication method has the wrong signature, it\n\
 171     must be declared static and return a value of type void
 172 java.launcher.module.error1=\
 173     module {0} does not have a MainClass attribute, use -m <module>/<main-class>
 174 java.launcher.module.error2=\
 175     Error: Could not find or load main class {0} in module {1}