Java Archieve is a binary form to bundle a Java library which equivalent to zip file. It contains .class files, .properties, .jpeg, OR any supporting files to execute this library. For Example- junit.jar, rt.jar, etc
- Create JAR file
jar -cvf bundle.jar *.class
- Execute classes from JAR file
java -cp C:\temp\bundle.jar FirstCommanLineProgram