1 #
   2 # Copyright (c) 2007, 2008, 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://java.sun.com/javase/reference 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 \    -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\n\
 101 The -X options are non-standard and subject to change without notice.\n
 102 
 103 java.launcher.cls.error1=\
 104     Error: Could not find main class {0}
 105 java.launcher.cls.error2=\
 106     Error: Main method is not {0} in class {1}, please define the main method as:\n\
 107 \   public static void main(String[] args)
 108 java.launcher.cls.error3=\
 109     Error: Main method must return a value of type void in class {0}, please \n\
 110     define the main method as:\n\
 111 \   public static void main(String[] args)
 112 java.launcher.cls.error4=\
 113     Error: Main method not found in class {0}, please define the main method as:\n\
 114 \   public static void main(String[] args)
 115 
 116