jdk/src/java.base/share/classes/sun/launcher/resources/launcher.properties
author ksrini
Thu, 10 Nov 2016 15:19:47 -0800
changeset 41966 bac52fa6e617
parent 41811 d80ea5e887ba
child 42338 a60f280f803c
permissions -rw-r--r--
8169001: Remove launcher's built-in ergonomics Reviewed-by: dholmes, erikj
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
41811
d80ea5e887ba 8168010: Deprecate obsolete launcher -d32/-d64 options
ksrini
parents: 41776
diff changeset
     2
# Copyright (c) 2007, 2016, 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\
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    30
\   or  {0} [options] -p <modulepath> -m <modulename>[/<mainclass>] [args...]\n\
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 32419
diff changeset
    31
\           (to execute the main class in a module)\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
where options include:\n
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
41811
d80ea5e887ba 8168010: Deprecate obsolete launcher -d32/-d64 options
ksrini
parents: 41776
diff changeset
    34
java.launcher.opt.datamodel  =\    -d{0}\t  Deprecated, will be removed in a future release\n
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
java.launcher.opt.vmselect   =\    {0}\t  to select the "{1}" VM\n
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
java.launcher.opt.hotspot    =\    {0}\t  is a synonym for the "{1}" VM  [deprecated]\n
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
# Translators please note do not translate the options themselves
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
java.launcher.opt.footer     =\    -cp <class search path of directories and zip/jar files>\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
\    -classpath <class search path of directories and zip/jar files>\n\
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    41
\    --class-path <class search path of directories and zip/jar files>\n\
2
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\
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    44
\    -p <module path>\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    45
\    --module-path <module path>...\n\
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 32419
diff changeset
    46
\                  A {0} separated list of directories, each directory\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 32419
diff changeset
    47
\                  is a directory of modules.\n\
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    48
\    --upgrade-module-path <module path>...\n\
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 32419
diff changeset
    49
\                  A {0} separated list of directories, each directory\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 32419
diff changeset
    50
\                  is a directory of modules that replace upgradeable\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 32419
diff changeset
    51
\                  modules in the runtime image\n\
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    52
\    -m <module>[/<mainclass>]\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    53
\    --module <modulename>[/<mainclass>]\n\
37779
7c84df693837 8154956: Module system implementation refresh (4/2016)
alanb
parents: 36511
diff changeset
    54
\                  the initial module to resolve, and the name of the main class\n\
7c84df693837 8154956: Module system implementation refresh (4/2016)
alanb
parents: 36511
diff changeset
    55
\                  to execute if not specified by the module\n\
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    56
\    --add-modules <modulename>[,<modulename>...]\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    57
\                  root modules to resolve in addition to the initial module.\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    58
\                  <modulename> can also be ALL-DEFAULT, ALL-SYSTEM,\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    59
\                  ALL-MODULE-PATH.\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    60
\    --limit-modules <modulename>[,<modulename>...]\n\
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 32419
diff changeset
    61
\                  limit the universe of observable modules\n\
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    62
\    --list-modules [<modulename>[,<modulename>...]]\n\
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 32419
diff changeset
    63
\                  list the observable modules and exit\n\
39303
5aefc354587e 8159596: Add java --dry-run
mchung
parents: 38349
diff changeset
    64
\    --dry-run     create VM but do not execute main method.\n\
5aefc354587e 8159596: Add java --dry-run
mchung
parents: 38349
diff changeset
    65
\                  This --dry-run option may be useful for validating the\n\
5aefc354587e 8159596: Add java --dry-run
mchung
parents: 38349
diff changeset
    66
\                  command-line options such as the module system configuration.\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
\    -D<name>=<value>\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
\                  set a system property\n\
10073
327c8d3193bd 7046007: (launcher) Improve usage information for -verbose option
ksrini
parents: 9035
diff changeset
    69
\    -verbose:[class|gc|jni]\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
\                  enable verbose output\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
\    -version      print product version and exit\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
\    -showversion  print product version and continue\n\
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    73
\    -? -help --help\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
    74
\                  print this help message\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
\    -X            print help on non-standard options\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
\    -ea[:<packagename>...|:<classname>]\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
\    -enableassertions[:<packagename>...|:<classname>]\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
\                  enable assertions with specified granularity\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
\    -da[:<packagename>...|:<classname>]\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
\    -disableassertions[:<packagename>...|:<classname>]\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
\                  disable assertions with specified granularity\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
\    -esa | -enablesystemassertions\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
\                  enable system assertions\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
\    -dsa | -disablesystemassertions\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
\                  disable system assertions\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
\    -agentlib:<libname>[=<options>]\n\
32414
4e5f62b2f088 8133314: Update launcher.properties to remove reference to hprof
sla
parents: 28109
diff changeset
    87
\                  load native agent library <libname>, e.g. -agentlib:jdwp\n\
4e5f62b2f088 8133314: Update launcher.properties to remove reference to hprof
sla
parents: 28109
diff changeset
    88
\                  see also -agentlib:jdwp=help\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
\    -agentpath:<pathname>[=<options>]\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
\                  load native agent library by full pathname\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
\    -javaagent:<jarpath>[=<options>]\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
\                  load Java programming language agent, see java.lang.instrument\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
\    -splash:<imagepath>\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
\                  show splash screen with specified image\n\
41776
71e2575dd727 8151787: Unify the HiDPI splash screen image naming convention
rchamyal
parents: 40982
diff changeset
    95
\                  HiDPI scaled images are automatically supported and used\n\
71e2575dd727 8151787: Unify the HiDPI splash screen image naming convention
rchamyal
parents: 40982
diff changeset
    96
\                  if available. The unscaled image filename, e.g. image.ext,\n\
71e2575dd727 8151787: Unify the HiDPI splash screen image naming convention
rchamyal
parents: 40982
diff changeset
    97
\                  should always be passed as the argument to the -splash option.\n\
71e2575dd727 8151787: Unify the HiDPI splash screen image naming convention
rchamyal
parents: 40982
diff changeset
    98
\                  The most appropriate scaled image provided will be picked up\n\
71e2575dd727 8151787: Unify the HiDPI splash screen image naming convention
rchamyal
parents: 40982
diff changeset
    99
\                  automatically.\n\
71e2575dd727 8151787: Unify the HiDPI splash screen image naming convention
rchamyal
parents: 40982
diff changeset
   100
\                  See the SplashScreen API documentation for more information.\n\
32267
4e96a9ee01b1 8027634: Support @argfiles for java command-line tool
henryjen
parents: 28109
diff changeset
   101
\    @<filepath>   read options from the specified file\n\
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   102
\To specify an argument for a long option, you can use --<name>=<value> or\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   103
\--<name> <value>.\n\
32267
4e96a9ee01b1 8027634: Support @argfiles for java command-line tool
henryjen
parents: 28109
diff changeset
   104
10121
1c789a986386 7062969: java -help still shows http://java.sun.com/javase/reference
ksrini
parents: 10073
diff changeset
   105
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
# Translators please note do not translate the options themselves
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
java.launcher.X.usage=\
40982
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   109
\    -Xbatch           disable background compilation\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
\    -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
\                      append to end of bootstrap class path\n\
40982
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   112
\    -Xcheck:jni       perform additional checks for JNI functions\n\
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   113
\    -Xcomp            forces compilation of methods on first invocation\n\
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   114
\    -Xdebug           provided for backward compatibility\n\
8174
89e3a22d4cd7 6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents: 7297
diff changeset
   115
\    -Xdiag            show additional diagnostic messages\n\
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 32419
diff changeset
   116
\    -Xdiag:resolver   show resolver diagnostic messages\n\
40982
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   117
\    -Xdisable-@files  disable further argument file expansion\n\
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   118
\    -Xfuture          enable strictest checks, anticipating future default\n\
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   119
\    -Xint             interpreted mode execution only\n\
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   120
\    -Xinternalversion\n\
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   121
\                      displays more detailed JVM version information than the\n\
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   122
\                      -version option\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
\    -Xloggc:<file>    log GC status to a file with time stamps\n\
40982
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   124
\    -Xmixed           mixed mode execution (default)\n\
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   125
\    -Xmn<size>        sets the initial and maximum size (in bytes) of the heap\n\
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   126
\                      for the young generation (nursery)\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
\    -Xms<size>        set initial Java heap size\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
\    -Xmx<size>        set maximum Java heap size\n\
40982
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   129
\    -Xnoclassgc       disable class garbage collection\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
\    -Xprof            output cpu profiling data\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
\    -Xrs              reduce use of OS signals by Java/VM (see documentation)\n\
40982
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   132
\    -Xshare:auto      use shared class data if possible (default)\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
\    -Xshare:off       do not attempt to use shared class data\n\
7297
906c58a8b849 6452854: Provide a flag to print the java configuration
ksrini
parents: 6888
diff changeset
   134
\    -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
   135
\    -XshowSettings    show all settings and continue\n\
906c58a8b849 6452854: Provide a flag to print the java configuration
ksrini
parents: 6888
diff changeset
   136
\    -XshowSettings:all\n\
906c58a8b849 6452854: Provide a flag to print the java configuration
ksrini
parents: 6888
diff changeset
   137
\                      show all settings and continue\n\
40982
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   138
\    -XshowSettings:locale\n\
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   139
\                      show all locale related settings and continue\n\
7297
906c58a8b849 6452854: Provide a flag to print the java configuration
ksrini
parents: 6888
diff changeset
   140
\    -XshowSettings:properties\n\
906c58a8b849 6452854: Provide a flag to print the java configuration
ksrini
parents: 6888
diff changeset
   141
\                      show all property settings and continue\n\
40982
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   142
\    -XshowSettings:vm show all vm related settings and continue\n\
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   143
\    -Xss<size>        set java thread stack size\n\
63b3cca518d9 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
henryjen
parents: 40261
diff changeset
   144
\    -Xverify          sets the mode of the bytecode verifier\n\
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   145
\    --add-reads <module>=<target-module>(,<target-module>)*\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   146
\                      updates <module> to read <target-module>, regardless\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   147
\                      of module declaration. \n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   148
\                      <target-module> can be ALL-UNNAMED to read all unnamed\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   149
\                      modules.\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   150
\    --add-exports <module>/<package>=<target-module>(,<target-module>)*\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   151
\                      updates <module> to export <package> to <target-module>,\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   152
\                      regardless of module declaration.\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   153
\                      <target-module> can be ALL-UNNAMED to export to all\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   154
\                      unnamed modules.\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   155
\    --patch-module <module>=<file>({0}<file>)*\n\
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 32419
diff changeset
   156
\                      Override or augment a module with classes and resources\n\
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   157
\                      in JAR files or directories.\n\n\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39338
diff changeset
   158
These 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
   159
12047
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   160
# Translators please note do not translate the options themselves
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   161
java.launcher.X.macosx.usage=\
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   162
\n\
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   163
The following options are Mac OS X specific:\n\
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   164
\    -XstartOnFirstThread\n\
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   165
\                      run the main() method on the first (AppKit) thread\n\
39338
83b771c59414 8145418: [macosx] Help message for -Xdock:name has a superfluous trailing quote "
ksrini
parents: 39303
diff changeset
   166
\    -Xdock:name=<application name>\n\
12047
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   167
\                      override default application name displayed in dock\n\
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   168
\    -Xdock:icon=<path to icon file>\n\
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   169
\                      override default icon displayed in dock\n\n
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents: 10121
diff changeset
   170
1323
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   171
java.launcher.cls.error1=\
8174
89e3a22d4cd7 6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents: 7297
diff changeset
   172
    Error: Could not find or load main class {0}
1323
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   173
java.launcher.cls.error2=\
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   174
    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
   175
\   public static void main(String[] args)
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   176
java.launcher.cls.error3=\
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   177
    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
   178
    define the main method as:\n\
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   179
\   public static void main(String[] args)
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   180
java.launcher.cls.error4=\
e14a3b3536cd 6742159: (launcher) improve the java launching mechanism
ksrini
parents: 2
diff changeset
   181
    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
   182
\   public static void main(String[] args)\n\
f4b1adde53b3 8001533: java launcher must launch javafx applications
ksrini
parents: 14342
diff changeset
   183
    or a JavaFX application class must extend {1}
f4b1adde53b3 8001533: java launcher must launch javafx applications
ksrini
parents: 14342
diff changeset
   184
java.launcher.cls.error5=\
f4b1adde53b3 8001533: java launcher must launch javafx applications
ksrini
parents: 14342
diff changeset
   185
    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
   186
java.launcher.jar.error1=\
89e3a22d4cd7 6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents: 7297
diff changeset
   187
    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
   188
java.launcher.jar.error2=manifest not found in {0}
89e3a22d4cd7 6968053: (launcher) hide exceptions under certain launcher failures
ksrini
parents: 7297
diff changeset
   189
java.launcher.jar.error3=no main manifest attribute, in {0}
13411
224a28370893 7146424: Wildcard expansion for single entry classpath
ksrini
parents: 12047
diff changeset
   190
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
   191
java.launcher.javafx.error1=\
364408faddeb 8004547: Extend JavaFX launcher support to allow full JavaFX launch feature set
ksrini
parents: 14518
diff changeset
   192
    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
   193
    must be declared static and return a value of type void
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 32419
diff changeset
   194
java.launcher.module.error1=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 32419
diff changeset
   195
    module {0} does not have a MainClass attribute, use -m <module>/<main-class>
9d0388c6b336 8142968: Module System implementation
alanb
parents: 32419
diff changeset
   196
java.launcher.module.error2=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 32419
diff changeset
   197
    Error: Could not find or load main class {0} in module {1}