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