JAR (file format)

From Simple English Wikipedia, the free encyclopedia
JAR
Filename extension.jar
Internet media typeapplication/java-archive
Developed byOracle Corporation
Type of formatdata compression
Websitehttps://docs.oracle.com/javase/8/docs/technotes/guides/jar/jarGuide.html

Java ARchive (JAR) is a file format created by the Oracle Corporation that is based on the ZIP file format. The primary motivation for the creation of JAR was to allow Java applets and their files to download using a single HTTP connection instead of a new connection for each piece. [1] This allows webpages to load faster and the applet can begin functioning.

Usage[change | change source]

JAR files use the file extension .jar and the MIME media type application/java-archive. JAR files are packaged with the ZIP file format, and they are used for data compression, archiving, decompression, and archive unpacking. [2]

References[change | change source]

  1. "JAR File Overview". docs.oracle.com. Retrieved 2021-02-12.
  2. "Using JAR Files: The Basics (The Java™ Tutorials > Deployment > Packaging Programs in JAR Files)". docs.oracle.com. Retrieved 2021-02-12.