JAR (file format)

Java Archive
KDE JAR file icon
KDE JAR file icon
Filename extension
.jar
Internet media type
application/java-archive[1][2][3]
Uniform Type Identifier (UTI)com.sun.java-archive
Magic number50 4b 03 04 ASCII:PK\x03\x04
Developed byNetscape, Sun Microsystems, Oracle Corporation
Type of formatFile archive, data compression
Extended fromZIP

A JAR ("Java archive") file is a package file format typically used to aggregate many Java class files and associated metadata and resources (text, images, etc.) into one file for distribution.[4]

JAR files are archive files that include a Java-specific manifest file. They are built on the ZIP format and typically have a .jar file extension.[5]

  1. ^ "File Extension .JAR Details". Retrieved 29 November 2012.
  2. ^ "MIME : Java Glossary". Retrieved 29 November 2012.
  3. ^ "IANA Assignment". Retrieved 12 May 2023.
  4. ^ "JDK 6 Java Archive (JAR)-related APIs & DeveloperGuides".
  5. ^ "JAR File Specification". Java SE Documentation. Oracle. Archived from the original on 2017-09-11.