1 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
   2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   3 #
   4 # This code is free software; you can redistribute it and/or modify it
   5 # under the terms of the GNU General Public License version 2 only, as
   6 # published by the Free Software Foundation.  Oracle designates this
   7 # particular file as subject to the "Classpath" exception as provided
   8 # by Oracle in the LICENSE file that accompanied this code.
   9 #
  10 # This code is distributed in the hope that it will be useful, but WITHOUT
  11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13 # version 2 for more details (a copy is included in the LICENSE file that
  14 # accompanied this code).
  15 #
  16 # You should have received a copy of the GNU General Public License version
  17 # 2 along with this work; if not, write to the Free Software Foundation,
  18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 #
  20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21 # or visit www.oracle.com if you need additional information or have any
  22 # questions.
  23 #
  24 
  25 # Translators please note do not translate the options themselves
  26 java.launcher.opt.header  =   Usage: {0} [-options] class [args...]\n\
  27 \           (to execute a class)\n   or  {0} [-options] -jar jarfile [args...]\n\
  28 \           (to execute a jar file)\n\
  29 where options include:\n
  30 
  31 java.launcher.opt.datamodel  =\    -d{0}\t  use a {0}-bit data model if available\n
  32 java.launcher.opt.vmselect   =\    {0}\t  to select the "{1}" VM\n
  33 java.launcher.opt.hotspot    =\    {0}\t  is a synonym for the "{1}" VM  [deprecated]\n
  34 
  35 java.launcher.ergo.message1  =\                  The default VM is {0}
  36 java.launcher.ergo.message2  =\                  because you are running on a server-class machine.\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 \                  A {0} separated list of directories, JAR archives,\n\
  42 \                  and ZIP archives to search for class files.\n\
  43 \    -D<name>=<value>\n\
  44 \                  set a system property\n\
  45 \    -verbose[:class|gc|jni]\n\
  46 \                  enable verbose output\n\
  47 \    -version      print product version and exit\n\
  48 \    -version:<value>\n\
  49 \                  require the specified version to run\n\
  50 \    -showversion  print product version and continue\n\
  51 \    -jre-restrict-search | -no-jre-restrict-search\n\
  52 \                  include/exclude user private JREs in the version search\n\
  53 \    -? -help      print this help message\n\
  54 \    -X            print help on non-standard options\n\
  55 \    -ea[:<packagename>...|:<classname>]\n\
  56 \    -enableassertions[:<packagename>...|:<classname>]\n\
  57 \                  enable assertions with specified granularity\n\
  58 \    -da[:<packagename>...|:<classname>]\n\
  59 \    -disableassertions[:<packagename>...|:<classname>]\n\
  60 \                  disable assertions with specified granularity\n\
  61 \    -esa | -enablesystemassertions\n\
  62 \                  enable system assertions\n\
  63 \    -dsa | -disablesystemassertions\n\
  64 \                  disable system assertions\n\
  65 \    -agentlib:<libname>[=<options>]\n\
  66 \                  load native agent library <libname>, e.g. -agentlib:hprof\n\
  67 \                  see also, -agentlib:jdwp=help and -agentlib:hprof=help\n\
  68 \    -agentpath:<pathname>[=<options>]\n\
  69 \                  load native agent library by full pathname\n\
  70 \    -javaagent:<jarpath>[=<options>]\n\
  71 \                  load Java programming language agent, see java.lang.instrument\n\
  72 \    -splash:<imagepath>\n\
  73 \                  show splash screen with specified image\n\
  74 See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
  75 
  76 # Translators please note do not translate the options themselves
  77 java.launcher.X.usage=\
  78 \    -Xmixed           mixed mode execution (default)\n\
  79 \    -Xint             interpreted mode execution only\n\
  80 \    -Xbootclasspath:<directories and zip/jar files separated by {0}>\n\
  81 \                      set search path for bootstrap classes and resources\n\
  82 \    -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\
  83 \                      append to end of bootstrap class path\n\
  84 \    -Xbootclasspath/p:<directories and zip/jar files separated by {0}>\n\
  85 \                      prepend in front of bootstrap class path\n\
  86 \    -Xdiag            show additional diagnostic messages\n\
  87 \    -Xnoclassgc       disable class garbage collection\n\
  88 \    -Xincgc           enable incremental garbage collection\n\
  89 \    -Xloggc:<file>    log GC status to a file with time stamps\n\
  90 \    -Xbatch           disable background compilation\n\
  91 \    -Xms<size>        set initial Java heap size\n\
  92 \    -Xmx<size>        set maximum Java heap size\n\
  93 \    -Xss<size>        set java thread stack size\n\
  94 \    -Xprof            output cpu profiling data\n\
  95 \    -Xfuture          enable strictest checks, anticipating future default\n\
  96 \    -Xrs              reduce use of OS signals by Java/VM (see documentation)\n\
  97 \    -Xcheck:jni       perform additional checks for JNI functions\n\
  98 \    -Xshare:off       do not attempt to use shared class data\n\
  99 \    -Xshare:auto      use shared class data if possible (default)\n\
 100 \    -Xshare:on        require using shared class data, otherwise fail.\n\
 101 \    -XshowSettings    show all settings and continue\n\
 102 \    -XshowSettings:all\n\
 103 \                      show all settings and continue\n\
 104 \    -XshowSettings:vm show all vm related settings and continue\n\
 105 \    -XshowSettings:properties\n\
 106 \                      show all property settings and continue\n\
 107 \    -XshowSettings:locale\n\
 108 \                      show all locale related settings and continue\n\n\
 109 The -X options are non-standard and subject to change without notice.\n
 110 
 111 java.launcher.cls.error1=\
 112     Error: Could not find or load main class {0}
 113 java.launcher.cls.error2=\
 114     Error: Main method is not {0} in class {1}, please define the main method as:\n\
 115 \   public static void main(String[] args)
 116 java.launcher.cls.error3=\
 117     Error: Main method must return a value of type void in class {0}, please \n\
 118     define the main method as:\n\
 119 \   public static void main(String[] args)
 120 java.launcher.cls.error4=\
 121     Error: Main method not found in class {0}, please define the main method as:\n\
 122 \   public static void main(String[] args)
 123 java.launcher.jar.error1=\
 124     Error: An unexpected error occurred while trying to open file {0}
 125 java.launcher.jar.error2=manifest not found in {0}
 126 java.launcher.jar.error3=no main manifest attribute, in {0}