1 #
   2 # Copyright (c) 2007, 2012, 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 where options include:\n
  31 
  32 java.launcher.opt.datamodel  =\    -d{0}\t  use a {0}-bit data model if available\n
  33 java.launcher.opt.vmselect   =\    {0}\t  to select the "{1}" VM\n
  34 java.launcher.opt.hotspot    =\    {0}\t  is a synonym for the "{1}" VM  [deprecated]\n
  35 
  36 java.launcher.ergo.message1  =\                  The default VM is {0}
  37 java.launcher.ergo.message2  =\                  because you are running on a server-class machine.\n
  38 
  39 # Translators please note do not translate the options themselves
  40 java.launcher.opt.footer     =\    -cp <class search path of directories and zip/jar files>\n\
  41 \    -classpath <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 \    -D<name>=<value>\n\
  45 \                  set a system property\n\
  46 \    -verbose:[class|gc|jni]\n\
  47 \                  enable verbose output\n\
  48 \    -version      print product version and exit\n\
  49 \    -version:<value>\n\
  50 \                  require the specified version to run\n\
  51 \    -showversion  print product version and continue\n\
  52 \    -jre-restrict-search | -no-jre-restrict-search\n\
  53 \                  include/exclude user private JREs in the version search\n\
  54 \    -? -help      print this help message\n\
  55 \    -X            print help on non-standard options\n\
  56 \    -ea[:<packagename>...|:<classname>]\n\
  57 \    -enableassertions[:<packagename>...|:<classname>]\n\
  58 \                  enable assertions with specified granularity\n\
  59 \    -da[:<packagename>...|:<classname>]\n\
  60 \    -disableassertions[:<packagename>...|:<classname>]\n\
  61 \                  disable assertions with specified granularity\n\
  62 \    -esa | -enablesystemassertions\n\
  63 \                  enable system assertions\n\
  64 \    -dsa | -disablesystemassertions\n\
  65 \                  disable system assertions\n\
  66 \    -agentlib:<libname>[=<options>]\n\
  67 \                  load native agent library <libname>, e.g. -agentlib:hprof\n\
  68 \                  see also, -agentlib:jdwp=help and -agentlib:hprof=help\n\
  69 \    -agentpath:<pathname>[=<options>]\n\
  70 \                  load native agent library by full pathname\n\
  71 \    -javaagent:<jarpath>[=<options>]\n\
  72 \                  load Java programming language agent, see java.lang.instrument\n\
  73 \    -splash:<imagepath>\n\
  74 \                  show splash screen with specified image\n\
  75 See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
  76 
  77 # Translators please note do not translate the options themselves
  78 java.launcher.X.usage=\
  79 \    -Xmixed           mixed mode execution (default)\n\
  80 \    -Xint             interpreted mode execution only\n\
  81 \    -Xbootclasspath:<directories and zip/jar files separated by {0}>\n\
  82 \                      set search path for bootstrap classes and resources\n\
  83 \    -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\
  84 \                      append to end of bootstrap class path\n\
  85 \    -Xbootclasspath/p:<directories and zip/jar files separated by {0}>\n\
  86 \                      prepend in front of bootstrap class path\n\
  87 \    -Xdiag            show additional diagnostic messages\n\
  88 \    -Xnoclassgc       disable class garbage collection\n\
  89 \    -Xincgc           enable incremental garbage collection\n\
  90 \    -Xloggc:<file>    log GC status to a file with time stamps\n\
  91 \    -Xbatch           disable background compilation\n\
  92 \    -Xms<size>        set initial Java heap size\n\
  93 \    -Xmx<size>        set maximum Java heap size\n\
  94 \    -Xss<size>        set java thread stack size\n\
  95 \    -Xprof            output cpu profiling data\n\
  96 \    -Xfuture          enable strictest checks, anticipating future default\n\
  97 \    -Xrs              reduce use of OS signals by Java/VM (see documentation)\n\
  98 \    -Xcheck:jni       perform additional checks for JNI functions\n\
  99 \    -Xshare:off       do not attempt to use shared class data\n\
 100 \    -Xshare:auto      use shared class data if possible (default)\n\
 101 \    -Xshare:on        require using shared class data, otherwise fail.\n\
 102 \    -XshowSettings    show all settings and continue\n\
 103 \    -XshowSettings:all\n\
 104 \                      show all settings and continue\n\
 105 \    -XshowSettings:vm show all vm related settings and continue\n\
 106 \    -XshowSettings:properties\n\
 107 \                      show all property settings and continue\n\
 108 \    -XshowSettings:locale\n\
 109 \                      show all locale related settings and continue\n\n\
 110 The -X options are non-standard and subject to change without notice.\n
 111 
 112 # Translators please note do not translate the options themselves
 113 java.launcher.X.macosx.usage=\
 114 \n\
 115 The following options are Mac OS X specific:\n\
 116 \    -XstartOnFirstThread\n\
 117 \                      run the main() method on the first (AppKit) thread\n\
 118 \    -Xdock:name=<application name>"\n\
 119 \                      override default application name displayed in dock\n\
 120 \    -Xdock:icon=<path to icon file>\n\
 121 \                      override default icon displayed in dock\n\n
 122 
 123 java.launcher.cls.error1=\
 124     Error: Could not find or load main class {0}
 125 java.launcher.cls.error2=\
 126     Error: Main method is not {0} in class {1}, please define the main method as:\n\
 127 \   public static void main(String[] args)
 128 java.launcher.cls.error3=\
 129     Error: Main method must return a value of type void in class {0}, please \n\
 130     define the main method as:\n\
 131 \   public static void main(String[] args)
 132 java.launcher.cls.error4=\
 133     Error: Main method not found in class {0}, please define the main method as:\n\
 134 \   public static void main(String[] args)\n\
 135     or a JavaFX application class must extend {1}
 136 java.launcher.cls.error5=\
 137     Error: JavaFX runtime components are missing, and are required to run this application
 138 java.launcher.jar.error1=\
 139     Error: An unexpected error occurred while trying to open file {0}
 140 java.launcher.jar.error2=manifest not found in {0}
 141 java.launcher.jar.error3=no main manifest attribute, in {0}
 142 java.launcher.jar.error4=no Profile manifest attribute in {0}
 143 java.launcher.jar.error5=Profile {0} required by {1} not supported by this runtime
 144 java.launcher.init.error=initialization error
 145 java.launcher.javafx.error1=\
 146     Error: The JavaFX launchApplication method has the wrong signature, it\n\
 147     must be declared static and return a value of type void