160 \ -C foo/ classes resources\n\ 161 \ # Update an existing non-modular jar to a modular jar:\n\ 162 \ jar --update --file foo.jar --main-class com.foo.Main --module-version 1.0\n\ 163 \ -C foo/ module-info.class\n\ 164 \ # Create a multi-release jar, placing some files in the META-INF/versions/9 directory:\n\ 165 \ jar --create --file mr.jar -C foo classes --release 9 -C foo9 classes 166 main.help.opt.main=\ 167 \ Main operation mode:\n 168 main.help.opt.main.create=\ 169 \ -c, --create Create the archive 170 main.help.opt.main.generate-index=\ 171 \ -i, --generate-index=FILE Generate index information for the specified jar\n\ 172 \ archives 173 main.help.opt.main.list=\ 174 \ -t, --list List the table of contents for the archive 175 main.help.opt.main.update=\ 176 \ -u, --update Update an existing jar archive 177 main.help.opt.main.extract=\ 178 \ -x, --extract Extract named (or all) files from the archive 179 main.help.opt.main.print-module-descriptor=\ 180 \ -p, --print-module-descriptor Print the module descriptor 181 main.help.opt.any=\ 182 \ Operation modifiers valid in any mode:\n\ 183 \n\ 184 \ -C DIR Change to the specified directory and include the\n\ 185 \ following file 186 main.help.opt.any.file=\ 187 \ -f, --file=FILE The archive file name\n\ 188 \ --release VERSION Places all following files in a versioned directory\n\ 189 \ of the jar (i.e. META-INF/versions/VERSION/) 190 main.help.opt.any.verbose=\ 191 \ -v, --verbose Generate verbose output on standard output 192 main.help.opt.create.update=\ 193 \ Operation modifiers valid only in create and update mode:\n 194 main.help.opt.create.update.main-class=\ 195 \ -e, --main-class=CLASSNAME The application entry point for stand-alone\n\ 196 \ applications bundled into a modular, or executable,\n\ 197 \ jar archive 198 main.help.opt.create.update.manifest=\ 199 \ -m, --manifest=FILE Include the manifest information from the given\n\ 200 \ manifest file 201 main.help.opt.create.update.no-manifest=\ 202 \ -M, --no-manifest Do not create a manifest file for the entries 203 main.help.opt.create.update.module-version=\ 204 \ --module-version=VERSION The module version, when creating a modular\n\ 205 \ jar, or updating a non-modular jar 206 main.help.opt.create.update.hash-modules=\ 207 \ --hash-modules=PATTERN Compute and record the hashes of modules \n\ 208 \ matched by the given pattern and that depend upon\n\ 209 \ directly or indirectly on a modular jar being\n\ 210 \ created or a non-modular jar being updated 211 main.help.opt.create.update.modulepath=\ 212 \ --modulepath Location of module dependence for generating 213 \ the hash 214 main.help.opt.create.update.index=\ 215 \ Operation modifiers valid only in create, update, and generate-index mode:\n 216 main.help.opt.create.update.index.no-compress=\ 217 \ -0, --no-compress Store only; use no ZIP compression 218 main.help.opt.other=\ 219 \ Other options:\n 220 main.help.opt.other.help=\ 221 \ -?, --help[:compat] Give this, or optionally the compatibility, help 222 main.help.opt.other.version=\ 223 \ --version Print program version 224 main.help.postopt=\ 225 \ An archive is a modular jar if a module descriptor, 'module-info.class', is\n\ 226 \ located in the root of the given directories, or the root of the jar archive\n\ 227 \ itself. The following operations are only valid when creating a modular jar,\n\ 228 \ or updating an existing non-modular jar: '--module-version',\n\ 229 \ '--hash-modules', and '--modulepath'.\n\ 230 \n\ 231 \ Mandatory or optional arguments to long options are also mandatory or optional\n\ 232 \ for any corresponding short options. | 160 \ -C foo/ classes resources\n\ 161 \ # Update an existing non-modular jar to a modular jar:\n\ 162 \ jar --update --file foo.jar --main-class com.foo.Main --module-version 1.0\n\ 163 \ -C foo/ module-info.class\n\ 164 \ # Create a multi-release jar, placing some files in the META-INF/versions/9 directory:\n\ 165 \ jar --create --file mr.jar -C foo classes --release 9 -C foo9 classes 166 main.help.opt.main=\ 167 \ Main operation mode:\n 168 main.help.opt.main.create=\ 169 \ -c, --create Create the archive 170 main.help.opt.main.generate-index=\ 171 \ -i, --generate-index=FILE Generate index information for the specified jar\n\ 172 \ archives 173 main.help.opt.main.list=\ 174 \ -t, --list List the table of contents for the archive 175 main.help.opt.main.update=\ 176 \ -u, --update Update an existing jar archive 177 main.help.opt.main.extract=\ 178 \ -x, --extract Extract named (or all) files from the archive 179 main.help.opt.main.print-module-descriptor=\ 180 \ -d, --print-module-descriptor Print the module descriptor 181 main.help.opt.any=\ 182 \ Operation modifiers valid in any mode:\n\ 183 \n\ 184 \ -C DIR Change to the specified directory and include the\n\ 185 \ following file 186 main.help.opt.any.file=\ 187 \ -f, --file=FILE The archive file name\n\ 188 \ --release VERSION Places all following files in a versioned directory\n\ 189 \ of the jar (i.e. META-INF/versions/VERSION/) 190 main.help.opt.any.verbose=\ 191 \ -v, --verbose Generate verbose output on standard output 192 main.help.opt.create.update=\ 193 \ Operation modifiers valid only in create and update mode:\n 194 main.help.opt.create.update.main-class=\ 195 \ -e, --main-class=CLASSNAME The application entry point for stand-alone\n\ 196 \ applications bundled into a modular, or executable,\n\ 197 \ jar archive 198 main.help.opt.create.update.manifest=\ 199 \ -m, --manifest=FILE Include the manifest information from the given\n\ 200 \ manifest file 201 main.help.opt.create.update.no-manifest=\ 202 \ -M, --no-manifest Do not create a manifest file for the entries 203 main.help.opt.create.update.module-version=\ 204 \ --module-version=VERSION The module version, when creating a modular\n\ 205 \ jar, or updating a non-modular jar 206 main.help.opt.create.update.hash-modules=\ 207 \ --hash-modules=PATTERN Compute and record the hashes of modules \n\ 208 \ matched by the given pattern and that depend upon\n\ 209 \ directly or indirectly on a modular jar being\n\ 210 \ created or a non-modular jar being updated 211 main.help.opt.create.update.module-path=\ 212 \ -p, --module-path Location of module dependence for generating\n\ 213 \ the hash 214 main.help.opt.create.update.index=\ 215 \ Operation modifiers valid only in create, update, and generate-index mode:\n 216 main.help.opt.create.update.index.no-compress=\ 217 \ -0, --no-compress Store only; use no ZIP compression 218 main.help.opt.other=\ 219 \ Other options:\n 220 main.help.opt.other.help=\ 221 \ -?, --help[:compat] Give this, or optionally the compatibility, help 222 main.help.opt.other.version=\ 223 \ --version Print program version 224 main.help.postopt=\ 225 \ An archive is a modular jar if a module descriptor, 'module-info.class', is\n\ 226 \ located in the root of the given directories, or the root of the jar archive\n\ 227 \ itself. The following operations are only valid when creating a modular jar,\n\ 228 \ or updating an existing non-modular jar: '--module-version',\n\ 229 \ '--hash-modules', and '--module-path'.\n\ 230 \n\ 231 \ Mandatory or optional arguments to long options are also mandatory or optional\n\ 232 \ for any corresponding short options. |