Is there a good java API for manipulating RAR archive files someone could recommend? Googling did not turn up anything overwhelmingly convincing.
Asked
Active
Viewed 4.1k times
22
-
1Manipulating, no, because RAR is a closed format. You are allowed to unrar stuff as a developer, but that's about it. Note: I am not a lawyer, but just somebody that went the same path and walked into this one myself. – Maarten Bodewes Oct 09 '12 at 22:57
3 Answers
22
You could try JUnRar, "a RAR handling API implemented in pure Java" (quoting the site).

Jason Terk
- 6,005
- 1
- 27
- 31

Fabian Steeg
- 44,988
- 7
- 85
- 112
4
There is also this fork from SF(@Fabian's answer and this one are forked from an old SF project):

chubbsondubs
- 37,646
- 24
- 106
- 138
2
I think this will help you.
A pure Java library for scanning and enumerating RAR archive contents

SANN3
- 9,459
- 6
- 61
- 97
-
1As of 2017 it cannot yet unrar, but it was the only updated this year – Paul Verest Jul 31 '17 at 15:20
-
As of 2019 it cannot unrar. The reason may be because of the license of rar files – venkat Jun 04 '19 at 10:58