jar
What is a .jar file?
application/java-archive
JAR (Java Archive) is a ZIP-based package that bundles Java class files, resources, and a manifest into a single distributable unit. The manifest can declare an entry point and metadata, making the JAR executable or usable as a library. It is the standard packaging format for the Java ecosystem.
How to use a .jar file
Use an example JAR to test ZIP-based extraction, manifest parsing, classpath and dependency tooling, and Java build or deployment pipelines.
Download example .jar files
- JAR - Resource ArchiveA Java Archive (JAR) — a ZIP with a META-INF/MANIFEST.MF and resource files only (no .class bytecode). For testing JAR/ZIP readers and manifest parsing.
- JAR With a Nested Library JARThe nested-JAR layout an executable fat jar uses: a manifest with a Class-Path entry and a second JAR stored uncompressed under BOOT-INF/lib so it can be read in place without being extracted first. It contains resources only - properties, JSON and text, no compiled bytecode - and the manifest uses the CRLF line endings the JAR specification requires.