What Is JDK JAR (Java ARchive) Tool
What Is JDK JAR (Java ARchive) Tool? Can I use it to open JAR file?
The JDK JAR (Java ARchive) tool, or the jar tool, allows you to create and manage JAR files.
The jar tool 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. When the components of an applet or application (.class files, images and sounds) are combined into a single archive, they may be downloaded by a java agent (like a browser) in a single HTTP transaction, rather than requiring a new connection for each piece. This dramatically improves download times. jar also compresses files and so further improves download time.
In addition, the jar tool allows individual entries in a file to be signed by the applet author so that their origin can be authenticated. The syntax for the jar tool is almost identical to the syntax for the tar command. A jar archive can be used as a class path entry, whether or not it is compressed.
The jar tool is included in the JDK distribution package. It is located in the "%JAVA_HOME%\bin\jar.exe" program file
You can not the jar tool to open a JAR file. You can use it to extract files from a JAR file.
For more information, see the jar Website
Back to FAQ for JDK JAR (Java ARchive) Tool.
2015-11-09, 780👍, 0💬
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
Commons Pool provides an Object-pooling API, with three major aspects: 1. A generic object pool inte...
tools.jar from JDK 1.6.0_02. JAR File Size and Download Location: File name: tools.jar File size: 12...