2362N/A# Copyright (c) 1999, 2006, Oracle
and/or its affiliates. All rights reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A# This code is free software; you can redistribute it
and/or modify it
0N/A# under the terms of the GNU General Public License version 2 only, as
2362N/A# published by the Free Software Foundation. Oracle designates this
0N/A# particular file as subject to the "Classpath" exception as provided
2362N/A# by Oracle in the LICENSE file that accompanied this code.
0N/A# This code is distributed in the hope that it will be useful, but WITHOUT
0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A# version 2 for more details (a copy is included in the LICENSE file that
0N/A# accompanied this code).
0N/A# You should have received a copy of the GNU General Public License version
0N/A# 2 along with this work; if not, write to the Free Software Foundation,
0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2362N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
0N/A One of options -{ctxu} must be specified.
0N/A 'c' flag requires manifest or input files to be specified!
0N/A 'u' flag requires manifest, 'e' flag or input files to be specified!
0N/A 'e' flag and manifest with the 'Main-Class' attribute cannot be specified \n\
0N/A {0} : no such file or directory
0N/A Error in writing existing jar file
0N/A {0} : could not create directory
0N/A incorrect length while processing: {0}
0N/A (in = {0}) (out= {1})
0N/AUsage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\
0N/A\ \ -c create new archive\n\
0N/A\ \ -t list table of contents for archive\n\
0N/A\ \ -x extract named (or all) files from archive\n\
0N/A\ \ -u update existing archive\n\
0N/A\ \ -v generate verbose output on standard output\n\
0N/A\ \ -f specify archive file name\n\
0N/A\ \ -m include manifest information from specified manifest file\n\
0N/A\ \ -e specify application entry point for stand-alone application \n\
0N/A\ \ bundled into an executable jar file\n\
0N/A\ \ -0 store only; use no ZIP compression\n\
0N/A\ \ -M do not create a manifest file for the entries\n\
0N/A\ \ -i generate index information for the specified jar files\n\
0N/A\ \ -C change to the specified directory and include the following file\n\
0N/AIf any file is a directory then it is processed recursively.\n\
0N/AThe manifest file name, the archive file name and the entry point name are\n\
0N/Aspecified in the same order as the 'm', 'f' and 'e' flags.\n\n\
0N/AExample 1: to archive two class files into an archive called
classes.jar: \n\
0N/AExample 2: use an existing manifest file 'mymanifest' and archive all the\n\