
What does it mean when we say that the file is an executable JAR file?

We will learn how to create an executable jar file, we will take a Java application and explore two ways to run it as a jar, just by double clicking on it.

You can read Oracle documentation on jar here This is similar to you using WinRAR or WinZIP. Simply speaking, this is a format for archiving data.

The Jar ( Java Archive) tool of JDK used to package one or more Java class files and associated metadata and resources (text, images, etc.) into one file to distribute application software or libraries on the Java platform And it provides the facility to create the executable jar file which calls the main method of the class if you double click it.
