This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes tar files extraction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "tar files extraction" Watch "tar files extraction" New topic

tar files extraction

Seema Bhatia
Ranch Hand

Joined: Apr 27, 2001
Posts: 36
How to extract files with extension tar.gz. I have downloaded the file for mysql but unable to configure it with tomcat.
Any help will be appreciated.
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Use gunzip utility to uncompress the tar file.
gunzip test.jar.gz
The output for this will give test.jar
now use
tar -xvf test.jar
Hope this will help you.
Ravi :-)
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
Depends on what platform you wish to do it on. Ona unix/Linux system use gunzip and then tar as described above. On a Windows system, the easiest way is to open the file with WinZip, which understands the format and can extract it to a directory of your choosing.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Consider Paul's rocket mass heater.
subject: tar files extraction
Similar Threads
WA #1.....word association
Need to Convert Documents to HTML
Componentized logic in views - what to use.
ClassNotFoundException in Jsp Precompilation
How to create a war file.