Check out the Latest Articles:
jar command

//create Jar file

jar -cmf

c:create

f:file

m:manifast

eg. jar -cmf -C ./workspace/jar-test/classes myJarTest.jar *.class

//Extract Jar file

jar -xf

x:extract

f:file

eg. jar -xf myJarTest.jar

// update jar file

jar -uf

u: update

eg. jar uf foo.jar foo.class

//list jar file content as a table

jar -tf

t:table

eg. jar -tf myJarTest.jar



  1. fiona on Monday 29, 2009

    very easy, thanks for the sharing.

  2. Thanks for posting about this, I would love to read more about this topic.