Meaningless Drivel is fun!
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
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
I agree. Here's the link:
subject: tar files extraction
It's not a secret anymore!