HP-UX Java™ - Archive Tool (jar)

» Back to table of contents

The Java™ Archive Tool (jar) combines multiple files into a single JAR archive file.

The jar tool is a Java™ application that combines multiple files into a single JAR archive file. jar is a general-purpose archiving and compression tool, based on ZIP and the ZLIB compression format. However, jar was designed mainly to facilitate the packaging of Java™ applets or applications into a single archive. jar also compresses files and so further improves download time and reduces the size of a Java™ application on disk. In addition, it allows individual entries in a file to be signed by the author so that their origin can be authenticated. The syntax for the jar tool is almost identical to the syntax for the tar command. For further information, see: http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/jar.html.