1 # 2 # Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 # 5 # This code is free software; you can redistribute it and/or modify it 6 # under the terms of the GNU General Public License version 2 only, as 7 # published by the Free Software Foundation. Oracle designates this 8 # particular file as subject to the "Classpath" exception as provided 9 # by Oracle in the LICENSE file that accompanied this code. 10 # 11 # This code is distributed in the hope that it will be useful, but WITHOUT 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 # version 2 for more details (a copy is included in the LICENSE file that 15 # accompanied this code). 16 # 17 # You should have received a copy of the GNU General Public License version 18 # 2 along with this work; if not, write to the Free Software Foundation, 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 # 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 # 25 26 # Translators please note do not translate the options themselves 27 java.launcher.opt.header = Usage: {0} [options] class [args...]\n\ 28 \ (to execute a class)\n or {0} [options] -jar jarfile [args...]\n\ 29 \ (to execute a jar file)\n\ 30 \ or {0} [options] -p <modulepath> -m <modulename>[/<mainclass>] [args...]\n\ 31 \ (to execute the main class in a module)\n\ 32 where options include:\n 33 34 java.launcher.opt.datamodel =\ -d{0}\t use a {0}-bit data model if available\n 35 java.launcher.opt.vmselect =\ {0}\t to select the "{1}" VM\n 36 java.launcher.opt.hotspot =\ {0}\t is a synonym for the "{1}" VM [deprecated]\n 37 38 java.launcher.ergo.message1 =\ The default VM is {0} 39 java.launcher.ergo.message2 =\ because you are running on a server-class machine.\n 40 41 # Translators please note do not translate the options themselves 42 java.launcher.opt.footer =\ -cp <class search path of directories and zip/jar files>\n\ 43 \ -classpath <class search path of directories and zip/jar files>\n\ 44 \ --class-path <class search path of directories and zip/jar files>\n\ 45 \ A {0} separated list of directories, JAR archives,\n\ 46 \ and ZIP archives to search for class files.\n\ 47 \ -p <module path>\n\ 48 \ --module-path <module path>...\n\ 49 \ A {0} separated list of directories, each directory\n\ 50 \ is a directory of modules.\n\ 51 \ --upgrade-module-path <module path>...\n\ 52 \ A {0} separated list of directories, each directory\n\ 53 \ is a directory of modules that replace upgradeable\n\ 54 \ modules in the runtime image\n\ 55 \ -m <module>[/<mainclass>]\n\ 56 \ --module <modulename>[/<mainclass>]\n\ 57 \ the initial module to resolve, and the name of the main class\n\ 58 \ to execute if not specified by the module\n\ 59 \ --add-modules <modulename>[,<modulename>...]\n\ 60 \ root modules to resolve in addition to the initial module.\n\ 61 \ <modulename> can also be ALL-DEFAULT, ALL-SYSTEM,\n\ 62 \ ALL-MODULE-PATH.\n\ 63 \ --limit-modules <modulename>[,<modulename>...]\n\ 64 \ limit the universe of observable modules\n\ 65 \ --list-modules [<modulename>[,<modulename>...]]\n\ 66 \ list the observable modules and exit\n\ 67 \ --dry-run create VM but do not execute main method.\n\ 68 \ This --dry-run option may be useful for validating the\n\ 69 \ command-line options such as the module system configuration.\n\ 70 \ -D<name>=<value>\n\ 71 \ set a system property\n\ 72 \ -verbose:[class|gc|jni]\n\ 73 \ enable verbose output\n\ 74 \ -version print product version and exit\n\ 75 \ -showversion print product version and continue\n\ 76 \ -? -help --help\n\ 77 \ print this help message\n\ 78 \ -X print help on non-standard options\n\ 79 \ -ea[:<packagename>...|:<classname>]\n\ 80 \ -enableassertions[:<packagename>...|:<classname>]\n\ 81 \ enable assertions with specified granularity\n\ 82 \ -da[:<packagename>...|:<classname>]\n\ 83 \ -disableassertions[:<packagename>...|:<classname>]\n\ 84 \ disable assertions with specified granularity\n\ 85 \ -esa | -enablesystemassertions\n\ 86 \ enable system assertions\n\ 87 \ -dsa | -disablesystemassertions\n\ 88 \ disable system assertions\n\ 89 \ -agentlib:<libname>[=<options>]\n\ 90 \ load native agent library <libname>, e.g. -agentlib:jdwp\n\ 91 \ see also -agentlib:jdwp=help\n\ 92 \ -agentpath:<pathname>[=<options>]\n\ 93 \ load native agent library by full pathname\n\ 94 \ -javaagent:<jarpath>[=<options>]\n\ 95 \ load Java programming language agent, see java.lang.instrument\n\ 96 \ -splash:<imagepath>\n\ 97 \ show splash screen with specified image\n\ 98 \ @<filepath> read options from the specified file\n\ 99 \To specify an argument for a long option, you can use --<name>=<value> or\n\ 100 \--<name> <value>.\n\ 101 102 See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details. 103 104 # Translators please note do not translate the options themselves 105 java.launcher.X.usage=\ 106 \ -Xmixed mixed mode execution (default)\n\ 107 \ -Xint interpreted mode execution only\n\ 108 \ -Xbootclasspath/a:<directories and zip/jar files separated by {0}>\n\ 109 \ append to end of bootstrap class path\n\ 110 \ -Xdiag show additional diagnostic messages\n\ 111 \ -Xdiag:resolver show resolver diagnostic messages\n\ 112 \ -Xnoclassgc disable class garbage collection\n\ 113 \ -Xloggc:<file> log GC status to a file with time stamps\n\ 114 \ -Xbatch disable background compilation\n\ 115 \ -Xms<size> set initial Java heap size\n\ 116 \ -Xmx<size> set maximum Java heap size\n\ 117 \ -Xss<size> set java thread stack size\n\ 118 \ -Xprof output cpu profiling data\n\ 119 \ -Xfuture enable strictest checks, anticipating future default\n\ 120 \ -Xrs reduce use of OS signals by Java/VM (see documentation)\n\ 121 \ -Xcheck:jni perform additional checks for JNI functions\n\ 122 \ -Xshare:off do not attempt to use shared class data\n\ 123 \ -Xshare:auto use shared class data if possible (default)\n\ 124 \ -Xshare:on require using shared class data, otherwise fail.\n\ 125 \ -XshowSettings show all settings and continue\n\ 126 \ -XshowSettings:all\n\ 127 \ show all settings and continue\n\ 128 \ -XshowSettings:vm show all vm related settings and continue\n\ 129 \ -XshowSettings:properties\n\ 130 \ show all property settings and continue\n\ 131 \ -XshowSettings:locale\n\ 132 \ show all locale related settings and continue\n\ 133 \ -Xdisable-@files disable further argument file expansion\n\ 134 \ --add-reads <module>=<target-module>(,<target-module>)*\n\ 135 \ updates <module> to read <target-module>, regardless\n\ 136 \ of module declaration. \n\ 137 \ <target-module> can be ALL-UNNAMED to read all unnamed\n\ 138 \ modules. This option can be specified more than once.\n\ 139 \ --add-exports <module>/<package>=<target-module>(,<target-module>)*\n\ 140 \ updates <module> to export <package> to <target-module>,\n\ 141 \ regardless of module declaration.\n\ 142 \ <target-module> can be ALL-UNNAMED to export to all\n\ 143 \ unnamed modules. This option can be specified more than\n\ 144 \ once.\n\ 145 \ --patch-module <module>=<file>({0}<file>)*\n\ 146 \ Override or augment a module with classes and resources\n\ 147 \ in JAR files or directories. This option can be\n\ 148 \ specified more than once.\n\n\ 149 These options are non-standard and subject to change without notice.\n 150 151 # Translators please note do not translate the options themselves 152 java.launcher.X.macosx.usage=\ 153 \n\ 154 The following options are Mac OS X specific:\n\ 155 \ -XstartOnFirstThread\n\ 156 \ run the main() method on the first (AppKit) thread\n\ 157 \ -Xdock:name=<application name>\n\ 158 \ override default application name displayed in dock\n\ 159 \ -Xdock:icon=<path to icon file>\n\ 160 \ override default icon displayed in dock\n\n 161 162 java.launcher.cls.error1=\ 163 Error: Could not find or load main class {0} 164 java.launcher.cls.error2=\ 165 Error: Main method is not {0} in class {1}, please define the main method as:\n\ 166 \ public static void main(String[] args) 167 java.launcher.cls.error3=\ 168 Error: Main method must return a value of type void in class {0}, please \n\ 169 define the main method as:\n\ 170 \ public static void main(String[] args) 171 java.launcher.cls.error4=\ 172 Error: Main method not found in class {0}, please define the main method as:\n\ 173 \ public static void main(String[] args)\n\ 174 or a JavaFX application class must extend {1} 175 java.launcher.cls.error5=\ 176 Error: JavaFX runtime components are missing, and are required to run this application 177 java.launcher.jar.error1=\ 178 Error: An unexpected error occurred while trying to open file {0} 179 java.launcher.jar.error2=manifest not found in {0} 180 java.launcher.jar.error3=no main manifest attribute, in {0} 181 java.launcher.init.error=initialization error 182 java.launcher.javafx.error1=\ 183 Error: The JavaFX launchApplication method has the wrong signature, it\n\ 184 must be declared static and return a value of type void 185 java.launcher.module.error1=\ 186 module {0} does not have a MainClass attribute, use -m <module>/<main-class> 187 java.launcher.module.error2=\ 188 Error: Could not find or load main class {0} in module {1}