JAR File : Java Archive File

Hello friends.

This is one of my tutorials for JAVA learner. All of you must be aware of Java Archive File i.e. JAR file.

Jar file is nothing but the collection of various class files into a single module.

Now one must be thinking that what is the actual need of jar file? Look friends this is not compulsory to create a jar file when we can directly run our code using class file to be interpreted. But what if we want that code to be used by any other person who does not know java or has no knowledge about how to run the java code? In this case we can provide the compressed version of class files into a single module called JAR file. Continue reading “JAR File : Java Archive File”