view src/java.base/share/classes/sun/launcher/resources/launcher.properties @ 13901:b2a69d66dc65

8142968: Module System implementation Summary: Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282 Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com, jonathan.gibbons@oracle.com, karen.kinnear@oracle.com, mandy.chung@oracle.com, mark.reinhold@oracle.com, chris.hegarty@oracle.com, alexandr.scherbatiy@oracle.com, amy.lu@oracle.com, calvin.cheung@oracle.com, daniel.fuchs@oracle.com, erik.joelsson@oracle.com, harold.seigel@oracle.com, jaroslav.bachorik@oracle.com, jean-francois.denise@oracle.com, jan.lahoda@oracle.com, james.laskey@oracle.com, lois.foltan@oracle.com, miroslav.kos@oracle.com, huaming.li@oracle.com, sean.mullan@oracle.com, naoto.sato@oracle.com, masayoshi.okutsu@oracle.com, peter.levart@gmail.com, philip.race@oracle.com, claes.redestad@oracle.com, sergey.bylokhov@oracle.com, alexandre.iline@oracle.com, volker.simonis@gmail.com, staffan.larsen@oracle.com, stuart.marks@oracle.com, semyon.sadetsky@oracle.com, serguei.spitsyn@oracle.com, sundararajan.athijegannathan@oracle.com, valerie.peng@oracle.com, vincent.x.ryan@oracle.com, weijun.wang@oracle.com, yuri.nesterenko@oracle.com, yekaterina.kantserova@oracle.com, alexander.kulyakhtin@oracle.com, felix.yang@oracle.com, andrei.eremeev@oracle.com, frank.yuan@oracle.com, sergei.pikalev@oracle.com, sibabrata.sahoo@oracle.com, tiantian.du@oracle.com, sha.jiang@oracle.com
author alanb
date Thu, 17 Mar 2016 19:04:16 +0000
parents d39227823cae
children 5c412978857d 769777ebcc81
line wrap: on
line source
#
# Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.  Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

# Translators please note do not translate the options themselves
java.launcher.opt.header  =   Usage: {0} [options] class [args...]\n\
\           (to execute a class)\n   or  {0} [options] -jar jarfile [args...]\n\
\           (to execute a jar file)\n\
\   or  {0} [-options] -mp <modulepath> -m <modulename> | <modulename>/<mainclass>\n\
\           (to execute the main class in a module)\n\
where options include:\n

java.launcher.opt.datamodel  =\    -d{0}\t  use a {0}-bit data model if available\n
java.launcher.opt.vmselect   =\    {0}\t  to select the "{1}" VM\n
java.launcher.opt.hotspot    =\    {0}\t  is a synonym for the "{1}" VM  [deprecated]\n

java.launcher.ergo.message1  =\                  The default VM is {0}
java.launcher.ergo.message2  =\                  because you are running on a server-class machine.\n

# Translators please note do not translate the options themselves
java.launcher.opt.footer     =\    -cp <class search path of directories and zip/jar files>\n\
\    -classpath <class search path of directories and zip/jar files>\n\
\                  A {0} separated list of directories, JAR archives,\n\
\                  and ZIP archives to search for class files.\n\
\    -mp <module path>\n\
\    -modulepath <module path>...\n\
\                  A {0} separated list of directories, each directory\n\
\                  is a directory of modules.\n\
\    -upgrademodulepath <module path>...\n\
\                  A {0} separated list of directories, each directory\n\
\                  is a directory of modules that replace upgradeable\n\
\                  modules in the runtime image\n\
\    -m <modulename> | <modulename>/<mainclass>\n\
\                  the initial or main module to resolve\n\
\    -addmods <modulename>[,<modulename>...]\n\
\                  root modules to resolve in addition to the initial module\n\
\    -limitmods <modulename>[,<modulename>...]\n\
\                  limit the universe of observable modules\n\
\    -listmods[:<modulename>[,<modulename>...]]\n\
\                  list the observable modules and exit\n\
\    -D<name>=<value>\n\
\                  set a system property\n\
\    -verbose:[class|gc|jni]\n\
\                  enable verbose output\n\
\    -version      print product version and exit\n\
\    -showversion  print product version and continue\n\
\    -? -help      print this help message\n\
\    -X            print help on non-standard options\n\
\    -ea[:<packagename>...|:<classname>]\n\
\    -enableassertions[:<packagename>...|:<classname>]\n\
\                  enable assertions with specified granularity\n\
\    -da[:<packagename>...|:<classname>]\n\
\    -disableassertions[:<packagename>...|:<classname>]\n\
\                  disable assertions with specified granularity\n\
\    -esa | -enablesystemassertions\n\
\                  enable system assertions\n\
\    -dsa | -disablesystemassertions\n\
\                  disable system assertions\n\
\    -agentlib:<libname>[=<options>]\n\
\                  load native agent library <libname>, e.g. -agentlib:jdwp\n\
\                  see also -agentlib:jdwp=help\n\
\    -agentpath:<pathname>[=<options>]\n\
\                  load native agent library by full pathname\n\
\    -javaagent:<jarpath>[=<options>]\n\
\                  load Java programming language agent, see java.lang.instrument\n\
\    -splash:<imagepath>\n\
\                  show splash screen with specified image\n\
\    @<filepath>   read options from the specified file\n\

See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.

# Translators please note do not translate the options themselves
java.launcher.X.usage=\
\    -Xmixed           mixed mode execution (default)\n\
\    -Xint             interpreted mode execution only\n\
\    -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\
\                      append to end of bootstrap class path\n\
\    -Xdiag            show additional diagnostic messages\n\
\    -Xdiag:resolver   show resolver diagnostic messages\n\
\    -Xnoclassgc       disable class garbage collection\n\
\    -Xincgc           enable incremental garbage collection\n\
\    -Xloggc:<file>    log GC status to a file with time stamps\n\
\    -Xbatch           disable background compilation\n\
\    -Xms<size>        set initial Java heap size\n\
\    -Xmx<size>        set maximum Java heap size\n\
\    -Xss<size>        set java thread stack size\n\
\    -Xprof            output cpu profiling data\n\
\    -Xfuture          enable strictest checks, anticipating future default\n\
\    -Xrs              reduce use of OS signals by Java/VM (see documentation)\n\
\    -Xcheck:jni       perform additional checks for JNI functions\n\
\    -Xshare:off       do not attempt to use shared class data\n\
\    -Xshare:auto      use shared class data if possible (default)\n\
\    -Xshare:on        require using shared class data, otherwise fail.\n\
\    -XshowSettings    show all settings and continue\n\
\    -XshowSettings:all\n\
\                      show all settings and continue\n\
\    -XshowSettings:vm show all vm related settings and continue\n\
\    -XshowSettings:properties\n\
\                      show all property settings and continue\n\
\    -XshowSettings:locale\n\
\                      show all locale related settings and continue\n\
\    -XaddReads:<module>=<other-module>(,<other-module>)*\n\
\                      <module> reads other modules,\n\
\                      regardless of module declaration\n\
\    -XaddExports:<module>/<package>=<other-module>(,<other-module>)*\n\
\                      <module> exports <package> to other modules,\n\
\                      regardless of module declaration\n\
\    -Xpatch:<module>=<file>({0}<file>)*\n\
\                      Override or augment a module with classes and resources\n\
\                      in JAR files or directories\n\
\    -Xdisable-@files  disable further argument file expansion\n\n\
The -X options are non-standard and subject to change without notice.\n

# Translators please note do not translate the options themselves
java.launcher.X.macosx.usage=\
\n\
The following options are Mac OS X specific:\n\
\    -XstartOnFirstThread\n\
\                      run the main() method on the first (AppKit) thread\n\
\    -Xdock:name=<application name>"\n\
\                      override default application name displayed in dock\n\
\    -Xdock:icon=<path to icon file>\n\
\                      override default icon displayed in dock\n\n

java.launcher.cls.error1=\
    Error: Could not find or load main class {0}
java.launcher.cls.error2=\
    Error: Main method is not {0} in class {1}, please define the main method as:\n\
\   public static void main(String[] args)
java.launcher.cls.error3=\
    Error: Main method must return a value of type void in class {0}, please \n\
    define the main method as:\n\
\   public static void main(String[] args)
java.launcher.cls.error4=\
    Error: Main method not found in class {0}, please define the main method as:\n\
\   public static void main(String[] args)\n\
    or a JavaFX application class must extend {1}
java.launcher.cls.error5=\
    Error: JavaFX runtime components are missing, and are required to run this application
java.launcher.jar.error1=\
    Error: An unexpected error occurred while trying to open file {0}
java.launcher.jar.error2=manifest not found in {0}
java.launcher.jar.error3=no main manifest attribute, in {0}
java.launcher.init.error=initialization error
java.launcher.javafx.error1=\
    Error: The JavaFX launchApplication method has the wrong signature, it\n\
    must be declared static and return a value of type void
java.launcher.module.error1=\
    module {0} does not have a MainClass attribute, use -m <module>/<main-class>
java.launcher.module.error2=\
    Error: Could not find or load main class {0} in module {1}