This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Java in General and the fly likes How can i Extract WinRAR files using java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How can i Extract WinRAR files using java" Watch "How can i Extract WinRAR files using java" New topic
Author

How can i Extract WinRAR files using java

Prabhu KuppurajBabu
Greenhorn

Joined: Sep 05, 2007
Posts: 7
Hi all,

I want to extract the winRAR files thru java. can any please help me for this problem as soon as possible.


Thanks in advance
Prabhu.K


Cheers,
Prabhu SCJP 1.4,SCWCD 1.5
Dmitry Mamonov
Greenhorn

Joined: Dec 24, 2008
Posts: 28
Try this:


JNI also may be helpfull, see RarExt.dll, but it is not so easy.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20137
    
  30

The problem is that, unlike the ZIP or GZIP compression techniques, RAR is a closed format. Therefore, its complete details are not disclosed.

You could try to find a third party library, but there probably will be few.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Marcelo Schneider
Greenhorn

Joined: Jan 10, 2009
Posts: 7
Java Unrar is quite useful, but still needs "unrar.exe" to run...
 
Consider Paul's rocket mass heater.
 
subject: How can i Extract WinRAR files using java
 
It's not a secret anymore!