Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic