• Post Reply Bookmark Topic Watch Topic
  • New Topic

quickie... how to unzip a jar file via a java command line from the MSDos window?  RSS feed

 
Jim Martin
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I have two jar files in a main jar file. I need to unzip/unjar the outer jar file to get to the two inner jar files. I don't know how to unpack the outer jar file?
rescue me javaranchers
 
BJ Grau
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jar -xf jarfile.jar
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!