Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
JAR (file format)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Java archive file format}} {{Infobox file format | name = Java Archive | icon = [[Image:Nuvola mimetypes java jar.png|[[KDE]] JAR file icon]] | iconcaption = [[KDE]] JAR file icon | extension = <code>.jar</code> | mime = application/java-archive<ref>{{cite web|title=File Extension .JAR Details|url=https://filext.com/file-extension/JAR|access-date=29 November 2012}}</ref><ref>{{cite web|title=MIME : Java Glossary|url=http://mindprod.com/jgloss/mime.html|access-date=29 November 2012}}</ref><ref>{{cite web|title=IANA Assignment|url=https://www.iana.org/assignments/media-types/application/java-archive|access-date=12 May 2023}}</ref> | type code = | uniform type = com.sun.java-archive | magic = <code>50 4b 03 04</code> ASCII:PK\x03\x04 | owner = [[Netscape]], [[Sun Microsystems]], [[Oracle Corporation]] | genre = [[File archive]], [[data compression]] | container for = | contained by = | extended from = [[ZIP (file format)|ZIP]] | extended to = | standard = | url = }} A '''JAR''' ("Java archive") file is a [[package format|package]] [[file format]] typically used to aggregate many [[Java class file]]s and associated [[metadata]] and resources (text, images, etc.) into one file for distribution.<ref>{{cite web|url=http://java.sun.com/javase/6/docs/technotes/guides/jar/index.html|title=JDK 6 Java Archive (JAR)-related APIs & DeveloperGuides}}</ref> JAR files are [[archive file]]s that include a Java-specific [[manifest file]]. They are built on the [[ZIP (file format)|ZIP format]] and typically have a <code>.jar</code> [[file extension]].<ref>{{cite web| title=JAR File Specification| publisher=Oracle| work=Java SE Documentation| url=http://docs.oracle.com/javase/6/docs/technotes/guides/jar/jar.html#JARIndex| url-status=live| archive-url=https://web.archive.org/web/20170911103525/http://docs.oracle.com/javase/6/docs/technotes/guides/jar/jar.html#JARIndex| archive-date=2017-09-11}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)