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