annotate src/share/classes/sun/launcher/resources/launcher.properties @ 3065:df896f3e6651

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