what is the difference between jar and runnable jar file?
MF file, which defines the Main class to be executed when the jar is run. A runnable jar is a jar file that has an embedded Manifest file that includes the "Main-Class:" declaration. ... With the standard JAR file, you have to specify the class with the main method on the command line when running the jar.