Java Beginner Tutorial 7 – JAR (Java Archive) basics

Notes:

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


 

JAVA PLAYLIST – https://www.youtube.com/playlist?list=PLhW3qG5bs-L_qj1L5hnHvJYeFpQ_g4UuU

Send me your comments and feedback