Jar command

Jar is a java archive file.Its like a zipped file.

All the java files can be archived into a jar file using the jar command.


  • jar - cf  MyJar.jar Myapp.--> archives Myapp into a jar file named MyJar.jar


To list the files in the Jar file.


  • jar-tf MyJar.jar



Comments

Popular posts from this blog

Spring MVC- Redirect from one controller to another

Jquery Table Inline Edititing