Candibiotic
News Update :

Basic jar tool commands

Thursday, August 20, 2009

To create a JAR jar -cf MyJar.jar MyClass.class

To extract the contents of a JAR jar -xf MyJar.jar

To view the contents of a JAR jar -tf MyJar.jar

To create a JAR with your own manifest jar -cmf myManifest.mf MyJar.jar MyClass.class

To create a JAR that contains all files within a directory
jar -cf MyJar.jar suncertify/db
Share this Article on :

0 comments:

Post a Comment

 

© Copyright Vinayak Wins 2010 -2011 | Design by Herdiansyah Hamzah | Published by Borneo Templates | Powered by Blogger.com.