1 # 2 # Copyright (c) 1999, 2013, 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 error.multiple.main.operations=\ 27 You may not specify more than one '-cuxtid' options 28 error.cant.open=\ 29 can''t open: {0} 30 error.illegal.option=\ 31 Illegal option: {0} 32 error.unrecognized.option=\ 33 unrecognized option : {0} 34 error.missing.arg=\ 35 option {0} requires an argument 36 error.bad.file.arg=\ 37 Error parsing file arguments 38 error.bad.option=\ 39 One of options -{ctxuid} must be specified. 40 error.bad.cflag=\ 41 'c' flag requires manifest or input files to be specified! 42 error.bad.uflag=\ 43 'u' flag requires manifest, 'e' flag or input files to be specified! 44 error.bad.eflag=\ 45 'e' flag and manifest with the 'Main-Class' attribute cannot be specified \n\ 46 together! 47 error.bad.dflag=\ 48 '-d, --describe-module' option requires no input file(s) to be specified: {0} 49 error.bad.reason=\ 50 bad reason: {0}, must be one of deprecated, deprecated-for-removal, or incubating 51 error.nosuch.fileordir=\ 52 {0} : no such file or directory 53 error.write.file=\ 54 Error in writing existing jar file 55 error.create.dir=\ 56 {0} : could not create directory 57 error.incorrect.length=\ 58 incorrect length while processing: {0} 59 error.create.tempfile=\ 60 Could not create a temporary file 61 error.hash.dep=\ 62 Hashing module {0} dependences, unable to find module {1} on module path 63 error.module.options.without.info=\ 64 One of --module-version or --hash-modules without module-info.class 65 error.unable.derive.automodule=\ 66 Unable to derive module descriptor for: {0} 67 error.unexpected.module-info=\ 68 Unexpected module descriptor {0} 69 error.module.descriptor.not.found=\ 70 Module descriptor not found 71 error.invalid.versioned.module.attribute=\ 72 Invalid module descriptor attribute {0} 73 error.missing.provider=\ 74 Service provider not found: {0} 75 error.release.value.notnumber=\ 76 release {0} not valid 77 error.release.value.toosmall=\ 78 release {0} not valid, must be >= 9 79 error.release.unexpected.versioned.entry=\ 80 unexpected versioned entry {0} for release {1} 81 error.validator.jarfile.exception=\ 82 can not validate {0}: {1} 83 error.validator.jarfile.invalid=\ 84 invalid multi-release jar file {0} deleted 85 error.validator.bad.entry.name=\ 86 entry name malformed, {0} 87 error.validator.version.notnumber=\ 88 entry name: {0}, does not have a version number 89 error.validator.entryname.tooshort=\ 90 entry name: {0}, too short, not a directory 91 error.validator.isolated.nested.class=\ 92 entry: {0}, is an isolated nested class 93 error.validator.new.public.class=\ 94 entry: {0}, contains a new public class not found in base entries 95 error.validator.incompatible.class.version=\ 96 entry: {0}, has a class version incompatible with an earlier version 97 error.validator.different.api=\ 98 entry: {0}, contains a class with different api from earlier version 99 error.validator.names.mismatch=\ 100 entry: {0}, contains a class with internal name {1}, names do not match 101 error.validator.info.name.notequal=\ 102 module-info.class in a versioned directory contains incorrect name 103 error.validator.info.requires.transitive=\ 104 module-info.class in a versioned directory contains additional "requires transitive" 105 error.validator.info.requires.added=\ 106 module-info.class in a versioned directory contains additional "requires" 107 error.validator.info.requires.dropped=\ 108 module-info.class in a versioned directory contains missing "requires" 109 error.validator.info.exports.notequal=\ 110 module-info.class in a versioned directory contains different "exports" 111 error.validator.info.opens.notequal=\ 112 module-info.class in a versioned directory contains different "opens" 113 error.validator.info.provides.notequal=\ 114 module-info.class in a versioned directory contains different "provides" 115 error.validator.info.version.notequal=\ 116 {0}: module-info.class in a versioned directory contains different "version" 117 error.validator.info.manclass.notequal=\ 118 {0}: module-info.class in a versioned directory contains different "main-class" 119 warn.validator.identical.entry=\ 120 Warning: entry {0} contains a class that\n\ 121 is identical to an entry already in the jar 122 warn.validator.resources.with.same.name=\ 123 Warning: entry {0}, multiple resources with same name 124 warn.validator.concealed.public.class=\ 125 Warning: entry {0} is a public class\n\ 126 in a concealed package, placing this jar on the class path will result\n\ 127 in incompatible public interfaces 128 warn.release.unexpected.versioned.entry=\ 129 unexpected versioned entry {0} 130 out.added.manifest=\ 131 added manifest 132 out.added.module-info=\ 133 added module-info: {0} 134 out.automodule=\ 135 No module descriptor found. Derived automatic module. 136 out.update.manifest=\ 137 updated manifest 138 out.update.module-info=\ 139 updated module-info: {0} 140 out.ignore.entry=\ 141 ignoring entry {0} 142 out.adding=\ 143 adding: {0} 144 out.deflated=\ 145 (deflated {0}%) 146 out.stored=\ 147 (stored 0%) 148 out.create=\ 149 \ \ created: {0} 150 out.extracted=\ 151 extracted: {0} 152 out.inflated=\ 153 \ inflated: {0} 154 out.size=\ 155 (in = {0}) (out= {1}) 156 157 usage.compat=\ 158 \Compatibility Interface:\ 159 \n\ 160 Usage: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files] ...\n\ 161 Options:\n\ 162 \ \ -c create new archive\n\ 163 \ \ -t list table of contents for archive\n\ 164 \ \ -x extract named (or all) files from archive\n\ 165 \ \ -u update existing archive\n\ 166 \ \ -v generate verbose output on standard output\n\ 167 \ \ -f specify archive file name\n\ 168 \ \ -m include manifest information from specified manifest file\n\ 169 \ \ -n perform Pack200 normalization after creating a new archive\n\ 170 \ \ -e specify application entry point for stand-alone application \n\ 171 \ \ bundled into an executable jar file\n\ 172 \ \ -0 store only; use no ZIP compression\n\ 173 \ \ -P preserve leading '/' (absolute path) and ".." (parent directory) components from file names\n\ 174 \ \ -M do not create a manifest file for the entries\n\ 175 \ \ -i generate index information for the specified jar files\n\ 176 \ \ -C change to the specified directory and include the following file\n\ 177 If any file is a directory then it is processed recursively.\n\ 178 The manifest file name, the archive file name and the entry point name are\n\ 179 specified in the same order as the 'm', 'f' and 'e' flags.\n\n\ 180 Example 1: to archive two class files into an archive called classes.jar: \n\ 181 \ \ jar cvf classes.jar Foo.class Bar.class \n\ 182 Example 2: use an existing manifest file 'mymanifest' and archive all the\n\ 183 \ \ files in the foo/ directory into 'classes.jar': \n\ 184 \ \ jar cvfm classes.jar mymanifest -C foo/ .\n 185 186 main.usage.summary=\ 187 Usage: jar [OPTION...] [ [--release VERSION] [-C dir] files] ... 188 main.usage.summary.try=\ 189 Try `jar --help' for more information. 190 191 main.help.preopt=\ 192 Usage: jar [OPTION...] [ [--release VERSION] [-C dir] files] ...\n\ 193 jar creates an archive for classes and resources, and can manipulate or\n\ 194 restore individual classes or resources from an archive.\n\ 195 \n\ 196 \ Examples:\n\ 197 \ # Create an archive called classes.jar with two class files:\n\ 198 \ jar --create --file classes.jar Foo.class Bar.class\n\ 199 \ # Create an archive using an existing manifest, with all the files in foo/:\n\ 200 \ jar --create --file classes.jar --manifest mymanifest -C foo/ .\n\ 201 \ # Create a modular jar archive, where the module descriptor is located in\n\ 202 \ # classes/module-info.class:\n\ 203 \ jar --create --file foo.jar --main-class com.foo.Main --module-version 1.0\n\ 204 \ -C foo/ classes resources\n\ 205 \ # Update an existing non-modular jar to a modular jar:\n\ 206 \ jar --update --file foo.jar --main-class com.foo.Main --module-version 1.0\n\ 207 \ -C foo/ module-info.class\n\ 208 \ # Create a multi-release jar, placing some files in the META-INF/versions/9 directory:\n\ 209 \ jar --create --file mr.jar -C foo classes --release 9 -C foo9 classes\n\ 210 \n\ 211 To shorten or simplify the jar command, you can specify arguments in a separate\n\ 212 text file and pass it to the jar command with the at sign (@) as a prefix.\n\ 213 \n\ 214 \ Examples:\n\ 215 \ # Read additional options and list of class files from the file classes.list\n\ 216 \ jar --create --file my.jar @classes.list\ 217 \n 218 main.help.opt.main=\ 219 \ Main operation mode:\n 220 main.help.opt.main.create=\ 221 \ -c, --create Create the archive 222 main.help.opt.main.generate-index=\ 223 \ -i, --generate-index=FILE Generate index information for the specified jar\n\ 224 \ archives 225 main.help.opt.main.list=\ 226 \ -t, --list List the table of contents for the archive 227 main.help.opt.main.update=\ 228 \ -u, --update Update an existing jar archive 229 main.help.opt.main.extract=\ 230 \ -x, --extract Extract named (or all) files from the archive 231 main.help.opt.main.describe-module=\ 232 \ -d, --describe-module Print the module descriptor, or automatic module name 233 main.help.opt.any=\ 234 \ Operation modifiers valid in any mode:\n\ 235 \n\ 236 \ -C DIR Change to the specified directory and include the\n\ 237 \ following file 238 main.help.opt.any.file=\ 239 \ -f, --file=FILE The archive file name. When omitted, either stdin or\n\ 240 \ stdout is used based on the operation\n\ 241 \ --release VERSION Places all following files in a versioned directory\n\ 242 \ of the jar (i.e. META-INF/versions/VERSION/) 243 main.help.opt.any.verbose=\ 244 \ -v, --verbose Generate verbose output on standard output 245 main.help.opt.create=\ 246 \ Operation modifiers valid only in create mode:\n 247 main.help.opt.create.normalize=\ 248 \ -n, --normalize Normalize information in the new jar archive\n\ 249 \ after creation 250 main.help.opt.create.update=\ 251 \ Operation modifiers valid only in create and update mode:\n 252 main.help.opt.create.update.main-class=\ 253 \ -e, --main-class=CLASSNAME The application entry point for stand-alone\n\ 254 \ applications bundled into a modular, or executable,\n\ 255 \ jar archive 256 main.help.opt.create.update.manifest=\ 257 \ -m, --manifest=FILE Include the manifest information from the given\n\ 258 \ manifest file 259 main.help.opt.create.update.no-manifest=\ 260 \ -M, --no-manifest Do not create a manifest file for the entries 261 main.help.opt.create.update.module-version=\ 262 \ --module-version=VERSION The module version, when creating a modular\n\ 263 \ jar, or updating a non-modular jar 264 main.help.opt.create.update.hash-modules=\ 265 \ --hash-modules=PATTERN Compute and record the hashes of modules \n\ 266 \ matched by the given pattern and that depend upon\n\ 267 \ directly or indirectly on a modular jar being\n\ 268 \ created or a non-modular jar being updated 269 main.help.opt.create.update.module-path=\ 270 \ -p, --module-path Location of module dependence for generating\n\ 271 \ the hash 272 main.help.opt.create.update.do-not-resolve-by-default=\ 273 \ --do-not-resolve-by-default Exclude from the default root set of modules 274 main.help.opt.create.update.warn-if-resolved=\ 275 \ --warn-if-resolved Hint for a tool to issue a warning if the module\n\ 276 \ is resolved. One of deprecated, deprecated-for-removal,\n\ 277 \ or incubating 278 main.help.opt.create.update.index=\ 279 \ Operation modifiers valid only in create, update, and generate-index mode:\n 280 main.help.opt.create.update.index.no-compress=\ 281 \ -0, --no-compress Store only; use no ZIP compression 282 main.help.opt.other=\ 283 \ Other options:\n 284 main.help.opt.other.help=\ 285 \ -h, --help[:compat] Give this, or optionally the compatibility, help 286 main.help.opt.other.help-extra=\ 287 \ --help-extra Give help on extra options 288 main.help.opt.other.version=\ 289 \ --version Print program version 290 main.help.postopt=\ 291 \ An archive is a modular jar if a module descriptor, 'module-info.class', is\n\ 292 \ located in the root of the given directories, or the root of the jar archive\n\ 293 \ itself. The following operations are only valid when creating a modular jar,\n\ 294 \ or updating an existing non-modular jar: '--module-version',\n\ 295 \ '--hash-modules', and '--module-path'.\n\ 296 \n\ 297 \ Mandatory or optional arguments to long options are also mandatory or optional\n\ 298 \ for any corresponding short options.