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

How to un-archive a .jar archive?

 
Nancy Lee
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:
I have downloaded a .jar archive file. According to the instruction, I need to use the "jar" command-line utility to un-archive the distrubution first. Does anyone know how to do it? Thanks.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Two sites with instructional information:
1. How To Open A Jar
2. Using JAR files: The Basics
Good Luck.
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, Dirk, the first one isn't really about JAR files
Short answer: jar xf filename.jar
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, remember that JAR simply uses the ZIP format -- so you can also use a program like Winzip.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic