aspose file tools*
The moose likes Beginning Java and the fly likes How to un-archive a .jar archive? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to un-archive a .jar archive?" Watch "How to un-archive a .jar archive?" New topic
Author

How to un-archive a .jar archive?

Nancy Lee
Greenhorn

Joined: Mar 23, 2002
Posts: 15
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

Joined: Dec 10, 2001
Posts: 7023
Two sites with instructional information:
1. How To Open A Jar
2. Using JAR files: The Basics
Good Luck.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Well, Dirk, the first one isn't really about JAR files
Short answer: jar xf filename.jar


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

Also, remember that JAR simply uses the ZIP format -- so you can also use a program like Winzip.


- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to un-archive a .jar archive?