• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can i Extract WinRAR files using java

 
Prabhu KuppurajBabu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Dmitry Mamonov
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this:


JNI also may be helpfull, see RarExt.dll, but it is not so easy.
 
Rob Spoor
Sheriff
Pie
Posts: 20745
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Marcelo Schneider
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java Unrar is quite useful, but still needs "unrar.exe" to run...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic