Jar

Jar file is a way to package the application and run in any java machine.

To run a jar file, we use the following commands:

java -jar myfile.jar