JAR file

A zip archive holding compiled classes and resources, plus a manifest describing them, which the JVM can load directly.

In more detail

JAR stands for Java archive. It is an ordinary zip file with a manifest in its META-INF folder; the JVM loads classes straight out of it without unpacking. Spring Boot builds an executable JAR that contains the application and all its libraries, started with java -jar.

Examples

target/inventory-1.0.0.jar
java -jar app.jar

Related terms

Taught in

References

Certification courses