jdk/src/java.base/share/classes/sun/launcher/resources/launcher.properties
author henryjen
Wed, 08 Jul 2015 23:26:48 -0700
changeset 32267 4e96a9ee01b1
parent 28109 c510e26fcd55
child 32419 1de9ea5c08a2
permissions -rw-r--r--
8027634: Support @argfiles for java command-line tool Reviewed-by: ksrini, mchung
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
28109
c510e26fcd55 8067421: java -help contains information about "-version:",'-jre-restrict-search', '-no-jre-restrict-search', but they are removed
ksrini
parents: 25859
diff changeset
     2
# Copyright (c) 2007, 2014, Oracle and/or its affiliates. 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
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1323
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1323
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
2
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
#
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1323
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1323
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1323
diff changeset
    23
# questions.
2
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
32267
4e96a9ee01b1 8027634: Support @argfiles for java command-line tool
henryjen
parents: 28109
diff changeset
    27
java.launcher.opt.header  =   Usage: {0} [options] class [args...]\n\
4e96a9ee01b1 8027634: Support @argfiles for java command-line tool
henryjen
parents: 28109
diff changeset
    28
\           (to execute a class)\n   or  {0} [options] -jar jarfile [args...]\n\
2
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\
10073
327c8d3193bd 7046007: (launcher) Improve usage information for -verbose option
ksrini
parents: 9035
diff changeset
    46
\    -verbose:[class|gc|jni]\n\
2
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
\    -showversion  print product version and continue\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
\    -? -help      print this help message\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
\    -X            print help on non-standard options\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
\    -ea[:<packagename>...|:<classname>]\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
\    -enableassertions[:<packagename>...|:<classname>]\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
\                  enable assertions with specified granularity\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
\    -da[:<packagename>...|:<classname>]\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
\    -disableassertions[:<packagename>...|:<classname>]\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
\                  disable assertions with specified granularity\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
\    -esa | -enablesystemassertions\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
\                  enable system assertions\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
\    -dsa | -disablesystemassertions\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
\                  disable system assertions\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
\    -agentlib:<libname>[=<options>]\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
\                  load native agent library <libname>, e.g. -agentlib:hprof\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
\                  see also, -agentlib:jdwp=help and -agentlib:hprof=help\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
\    -agentpath:<pathname>[=<options>]\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
\                  load native agent library by full pathname\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
\    -javaagent:<jarpath>[=<options>]\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
\                  load Java programming language agent, see java.lang.instrument\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
\    -splash:<imagepath>\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
\                  show splash screen with specified image\n\
32267
4e96a9ee01b1 8027634: Support @argfiles for java command-line tool
henryjen
parents: 28109
diff changeset
    71
\    @<filepath>   read options from the specified file\n\
4e96a9ee01b1 8027634: Support @argfiles for java command-line tool
henryjen
parents: 28109
diff changeset
    72
10121
1c789a986386 7062969: java -help still shows http://java.sun.com/javase/reference
ksrini
parents: 10073
diff changeset
    73
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
# Translators please note do not translate the options themselves
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
java.launcher.X.usage=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
\    -Xmixed           mixed mode execution (default)\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
\    -Xint             interpreted mode execution only\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
\    -Xbootclasspath:<directories and zip/jar files separated by {0}>\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
\                      set search path for bootstrap classes and resources\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
\    -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
\                      append to end of bootstrap class path\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
\    -Xbootclasspath/p:<directories and zip/jar files separated by {0}>\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
\                      prepend in front of bootstrap class path\n\
8174
89e3a22d4cd7 6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents: 7297
diff changeset
    85
\    -Xdiag            show additional diagnostic messages\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
\    -Xnoclassgc       disable class garbage collection\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
\    -Xincgc           enable incremental garbage collection\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
\    -Xloggc:<file>    log GC status to a file with time stamps\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
\    -Xbatch           disable background compilation\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
\    -Xms<size>        set initial Java heap size\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
\    -Xmx<size>        set maximum Java heap size\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
\    -Xss<size>        set java thread stack size\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
\    -Xprof            output cpu profiling data\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
\    -Xfuture          enable strictest checks, anticipating future default\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
\    -Xrs              reduce use of OS signals by Java/VM (see documentation)\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
\    -Xcheck:jni       perform additional checks for JNI functions\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
\    -Xshare:off       do not attempt to use shared class data\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
\    -Xshare:auto      use shared class data if possible (default)\n\
7297
906c58a8b849 6452854: Provide a flag to print the java configuration
ksrini
parents: 6888
diff changeset
    99
\    -Xshare:on        require using shared class data, otherwise fail.\n\
906c58a8b849 6452854: Provide a flag to print the java configuration
ksrini
parents: 6888
diff changeset
   100
\    -XshowSettings    show all settings and continue\n\
906c58a8b849 6452854: Provide a flag to print the java configuration
ksrini
parents: 6888
diff changeset
   101
\    -XshowSettings:all\n\
906c58a8b849 6452854: Provide a flag to print the java configuration
ksrini
parents: 6888
diff changeset
   102
\                      show all settings and continue\n\
906c58a8b849 6452854: Provide a flag to print the java configuration
ksrini
parents: 6888
diff changeset
   103
\    -XshowSettings:vm show all vm related settings and continue\n\
906c58a8b849 6452854: Provide a flag to print the java configuration
ksrini
parents: 6888
diff changeset
   104
\    -XshowSettings:properties\n\
906c58a8b849 6452854: Provide a flag to print the java configuration
ksrini
parents: 6888
diff changeset
   105
\                      show all property settings and continue\n\
906c58a8b849 6452854: Provide a flag to print the java configuration
ksrini
parents: 6888
diff changeset
   106
\    -XshowSettings:locale\n\
32267
4e96a9ee01b1 8027634: Support @argfiles for java command-line tool
henryjen
parents: 28109
diff changeset
   107
\                      show all locale related settings and continue\n\
4e96a9ee01b1 8027634: Support @argfiles for java command-line tool
henryjen
parents: 28109
diff changeset
   108
\    -Xdisable-@files  disable further argument file expansion\n\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
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
   110
12047
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   111
# Translators please note do not translate the options themselves
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   112
java.launcher.X.macosx.usage=\
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   113
\n\
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   114
The following options are Mac OS X specific:\n\
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   115
\    -XstartOnFirstThread\n\
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   116
\                      run the main() method on the first (AppKit) thread\n\
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   117
\    -Xdock:name=<application name>"\n\
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   118
\                      override default application name displayed in dock\n\
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   119
\    -Xdock:icon=<path to icon file>\n\
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   120
\                      override default icon displayed in dock\n\n
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   121
1323
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   122
java.launcher.cls.error1=\
8174
89e3a22d4cd7 6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents: 7297
diff changeset
   123
    Error: Could not find or load main class {0}
1323
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   124
java.launcher.cls.error2=\
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   125
    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
   126
\   public static void main(String[] args)
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   127
java.launcher.cls.error3=\
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   128
    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
   129
    define the main method as:\n\
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   130
\   public static void main(String[] args)
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   131
java.launcher.cls.error4=\
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   132
    Error: Main method not found in class {0}, please define the main method as:\n\
14518
f4b1adde53b3 8001533: java launcher must launch javafx applications
ksrini
parents: 14342
diff changeset
   133
\   public static void main(String[] args)\n\
f4b1adde53b3 8001533: java launcher must launch javafx applications
ksrini
parents: 14342
diff changeset
   134
    or a JavaFX application class must extend {1}
f4b1adde53b3 8001533: java launcher must launch javafx applications
ksrini
parents: 14342
diff changeset
   135
java.launcher.cls.error5=\
f4b1adde53b3 8001533: java launcher must launch javafx applications
ksrini
parents: 14342
diff changeset
   136
    Error: JavaFX runtime components are missing, and are required to run this application
8174
89e3a22d4cd7 6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents: 7297
diff changeset
   137
java.launcher.jar.error1=\
89e3a22d4cd7 6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents: 7297
diff changeset
   138
    Error: An unexpected error occurred while trying to open file {0}
89e3a22d4cd7 6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents: 7297
diff changeset
   139
java.launcher.jar.error2=manifest not found in {0}
89e3a22d4cd7 6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents: 7297
diff changeset
   140
java.launcher.jar.error3=no main manifest attribute, in {0}
13411
224a28370893 7146424: Wildcard expansion for single entry classpath
ksrini
parents: 12047
diff changeset
   141
java.launcher.init.error=initialization error
15003
364408faddeb 8004547: Extend JavaFX launcher support to allow full JavaFX launch feature set
ksrini
parents: 14518
diff changeset
   142
java.launcher.javafx.error1=\
364408faddeb 8004547: Extend JavaFX launcher support to allow full JavaFX launch feature set
ksrini
parents: 14518
diff changeset
   143
    Error: The JavaFX launchApplication method has the wrong signature, it\n\
364408faddeb 8004547: Extend JavaFX launcher support to allow full JavaFX launch feature set
ksrini
parents: 14518
diff changeset
   144
    must be declared static and return a value of type void