Ziplib

This C++ library allows you to read (but not write) a zip file or a jar file. The API is similar, but not indentical to java.util.zip. The program is tested for memory leaks. The library makes heavy use of C++ features like exceptions, templates, RTTI etc. They seem to work fine with GCC.

You can download it here. This program is available as free software under the terms of the BSD license.