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, 1725👍, 0💬
Where to find answers to frequently asked questions on Downloading and Installing ojdbc.jar - JDBC D...
Where to find answers to frequently asked questions on Java SE Implementation of JAXB (Java Architec...
How to run "jarsigner" command from JDK tools.jar file? "jarsigner" command allows you to digitally ...
Byte Code Generation Library is high level API to generate and transform JAVA byte code. It is used ...
What Is xercesImpl-2.6.2.jar? xercesImpl-2.6.2.jar is the JAR file for Apache Xerces Java XML Parser...