WillamS
WillamS

Reputation: 2517

java library for zip64

What is currently the best library to do zip64 with in Java? I need to zip and unzip files / directories larger than 4 GB.

I read that Java 7 has support for zip64. But I guess if I develop for Java 7 this only works if all the computers on which the application will be installed have Java 7 JRE? Is this correct?

At the moment I am using http://sourceforge.net/projects/zip64file/ . But here I was wondering if this is still the best choice? I would like to have a library that supports zipping of directories out of the box. Now I have to do the traversing of the directory structure myself.

Upvotes: 9

Views: 8159

Answers (2)

MohamedSanaulla
MohamedSanaulla

Reputation: 6242

Also Apache Commons Compress supports Zip64 format.

Upvotes: 8

bpgergo
bpgergo

Reputation: 16037

Looks like TrueZIP 6.7 Beta has the features you need http://cworld.wikidot.com/development:open-source-java-zip64-library-truezip

  • enables client applications to access ZIP archive transparently as if they were just directories in a file's path name
  • New in TrueZIP 6.7 Beta: The low level ZIP API now supports ZIP64 extensions
  • Runs on J2RE 1.4.2 or higher

Upvotes: 1

Related Questions