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 \                  HiDPI scaled image is also supported\n\
  94 \                  Unscaled image name i.e. image.ext should be passed to -splash option for all image types\n\
  95 \                  irrespective of HiDPI and Non-HiDPI\n\
  96 \                  Scaled image name convention:
  97 \                  Screen scale is float value e.g 1.25: image@125pct.ext\n\
  98 \                  Screen scale is integer value e.g. 2: image@200pct.ext and image@2x.ext both supported\n\
  99 \    @<filepath>   read options from the specified file\n\
 100 
 101 See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
 102 
 103 # Translators please note do not translate the options themselves
 104 java.launcher.X.usage=\
 105 \    -Xmixed           mixed mode execution (default)\n\
 106 \    -Xint             interpreted mode execution only\n\
 107 \    -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\
 108 \                      append to end of bootstrap class path\n\
 109 \    -Xdiag            show additional diagnostic messages\n\
 110 \    -Xdiag:resolver   show resolver diagnostic messages\n\
 111 \    -Xnoclassgc       disable class garbage collection\n\
 112 \    -Xloggc:<file>    log GC status to a file with time stamps\n\
 113 \    -Xbatch           disable background compilation\n\
 114 \    -Xms<size>        set initial Java heap size\n\
 115 \    -Xmx<size>        set maximum Java heap size\n\
 116 \    -Xss<size>        set java thread stack size\n\
 117 \    -Xprof            output cpu profiling data\n\
 118 \    -Xfuture          enable strictest checks, anticipating future default\n\
 119 \    -Xrs              reduce use of OS signals by Java/VM (see documentation)\n\
 120 \    -Xcheck:jni       perform additional checks for JNI functions\n\
 121 \    -Xshare:off       do not attempt to use shared class data\n\
 122 \    -Xshare:auto      use shared class data if possible (default)\n\
 123 \    -Xshare:on        require using shared class data, otherwise fail.\n\
 124 \    -XshowSettings    show all settings and continue\n\
 125 \    -XshowSettings:all\n\
 126 \                      show all settings and continue\n\
 127 \    -XshowSettings:vm show all vm related settings and continue\n\
 128 \    -XshowSettings:properties\n\
 129 \                      show all property settings and continue\n\
 130 \    -XshowSettings:locale\n\
 131 \                      show all locale related settings and continue\n\
 132 \    -XaddReads:<module>=<other-module>(,<other-module>)*\n\
 133 \                      <module> reads other modules,\n\
 134 \                      regardless of module declaration\n\
 135 \    -XaddExports:<module>/<package>=<other-module>(,<other-module>)*\n\
 136 \                      <module> exports <package> to other modules,\n\
 137 \                      regardless of module declaration\n\
 138 \    -Xpatch:<module>=<file>({0}<file>)*\n\
 139 \                      Override or augment a module with classes and resources\n\
 140 \                      in JAR files or directories\n\
 141 \    -Xdisable-@files  disable further argument file expansion\n\n\
 142 The -X options are non-standard and subject to change without notice.\n
 143 
 144 # Translators please note do not translate the options themselves
 145 java.launcher.X.macosx.usage=\
 146 \n\
 147 The following options are Mac OS X specific:\n\
 148 \    -XstartOnFirstThread\n\
 149 \                      run the main() method on the first (AppKit) thread\n\
 150 \    -Xdock:name=<application name>\n\
 151 \                      override default application name displayed in dock\n\
 152 \    -Xdock:icon=<path to icon file>\n\
 153 \                      override default icon displayed in dock\n\n
 154 
 155 java.launcher.cls.error1=\
 156     Error: Could not find or load main class {0}
 157 java.launcher.cls.error2=\
 158     Error: Main method is not {0} in class {1}, please define the main method as:\n\
 159 \   public static void main(String[] args)
 160 java.launcher.cls.error3=\
 161     Error: Main method must return a value of type void in class {0}, please \n\
 162     define the main method as:\n\
 163 \   public static void main(String[] args)
 164 java.launcher.cls.error4=\
 165     Error: Main method not found in class {0}, please define the main method as:\n\
 166 \   public static void main(String[] args)\n\
 167     or a JavaFX application class must extend {1}
 168 java.launcher.cls.error5=\
 169     Error: JavaFX runtime components are missing, and are required to run this application
 170 java.launcher.jar.error1=\
 171     Error: An unexpected error occurred while trying to open file {0}
 172 java.launcher.jar.error2=manifest not found in {0}
 173 java.launcher.jar.error3=no main manifest attribute, in {0}
 174 java.launcher.init.error=initialization error
 175 java.launcher.javafx.error1=\
 176     Error: The JavaFX launchApplication method has the wrong signature, it\n\
 177     must be declared static and return a value of type void
 178 java.launcher.module.error1=\
 179     module {0} does not have a MainClass attribute, use -m <module>/<main-class>
 180 java.launcher.module.error2=\
 181     Error: Could not find or load main class {0} in module {1}
--- EOF ---