What is code for Opening a rar file from java?

Asked By 0 points N/A Posted on -
qa-featured

 

Hi

I want to know what is the coding for opening a rar file from Java. Is this possible to create a program which open rar files as like a zip file for the Java platform?

SHARE
Best Answer by Franke Mary
Answered By 0 points N/A #168047

What is code for Opening a rar file from java?

qa-featured

 

Hi Bolton Mcfdden,

 

It is possible to extract files from rar files using Java. The library you need is JUnrar.

 

The below link gives sample code on how to unzip a RAR file using Java and JUnrar.

 

http://www.ke-cai.net/2011/12/extracting-rar-archives-in-java-using.html

 

Hope it helps.

Best Answer
Best Answer
Answered By 0 points N/A #168048

What is code for Opening a rar file from java?

qa-featured

 

Hi,

The Chilkat RAR for .NET and C++ are bundled in downloads that contain all Chilkat classes
(Both free and non-free). Make sure you select the download that matches your .NET Framework or VC++ version (6/7/8).

If running on x64, download the ActiveX, .NET, or C++ builds marked specifically for x64.

Chilkat Java Library Downloads for Windows, Linux, and MAC OS X are attached.

Thanking you.

Franke Mary

Login/Register to Answer

Related Questions