Java Beginner Tutorial 7 – JAR (Java Archive) basics


Today we will learn:

1. What is JAR
2. Why do we need JAR files
3. How to create JAR file from Java Project
4. How to extract contents from a JAR file (Java Decompiler)

JAR = Java Archive
– compressed format of a compiled java project
– contains .class files + meta data and some other resources
– used to distribute java code/libraries for use by other projects
– direct execution of java program (w/o IDE)

e.g. javamail jar



Send me your comments and feedback