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

defining functions clojure

Integrating Struts2 with Spring Security using Custom Login Form