• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to extract a tar file using java

 
phanidharcool kaduluri
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all

I am trying to extract a .tar file using java.
Can java.util.jar class can be used for this.

I have tried using this library but it doesn't work.

Ant help will be greatly appreciated.

Thanx
Phani
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try a google search.

First interesting hit I got:

Java Forums - Extract tar.Z file through java
 
phanidharcool kaduluri
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Carol Enderlin:
Did you try a google search.

First interesting hit I got:

Java Forums - Extract tar.Z file through java



Hi Carol

I have tried this one earlier but the problem is that we need to use an external libraries such as Java Tar lib by TrustIce.I wonder why there no support for tar files in java.

Any way thanx for ur quick response.

If you have any other information abt this kindly let me know.

Thanx
Phani
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!