Java Archive

Why Trust Techopedia

What Does Java Archive Mean?

Java archive (JAR) is a file format that contains bundled Java class files along with associated image/sound files, resources and metadata. It is usually a single, compressed file mostly used for supplying the necessary Java libraries and application software on a Java programming platform.

Advertisements

The JAR file format is similar to the tape archive (TAR) file format used in Unix.

Techopedia Explains Java Archive

A JAR file also may be used in the following ways:

  • As a building block in Java applications
  • As a deployment unit for Java plug-ins, applets or components For packaging Java components and dependent resources

JAR file features include the following:

  • Mostly compressed into a ZIP file format and identified with the file .jat file extension
  • Can be executable
  • One can sign in on JAR file contents for more security.
  • Have a lower download time, especially those related to applets and Java Web Start
  • Highly compressed and provide efficient storage for the bundled Java files
  • Support package versioning and package version consistency
  • Support portability
  • Java Development Kit (JDK) provides a JAR tool that helps perform basic JAR file tasks.
  • In a JDK, a utility program with a JAR is provided. A programmer can use this to create, extract or perform any permitted operations on the JAR file.
  • Date and time stamp are stored during the creation of a JAR file.
  • Using JAR files, a Java application can be initiated in an enterprise.
  • When used on the Web, a JAR file may contain an applet and accompany a Web page.
Advertisements

Related Terms

Margaret Rouse
Technology Specialist
Margaret Rouse
Technology Specialist

Margaret is an award-winning writer and educator known for her ability to explain complex technical topics to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles in the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret’s idea of ​​a fun day is to help IT and business professionals to learn to speak each other’s highly specialized languages.