This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 19656
    
  18

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
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...
 
wood burning stoves
 
subject: How can i Extract WinRAR files using java
 
Similar Threads
how to open a jar file
opening RAR file
Why to extract war file?
Izpack problem
need help with winrar split files