wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes J2ME gzip/zlib library? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "J2ME gzip/zlib library?" Watch "J2ME gzip/zlib library?" New topic

J2ME gzip/zlib library?

Gary LaRock

Joined: Nov 05, 2001
Posts: 2
Is there a small, freely available gzip/zlib compression library around that will run on J2ME/MIDP?
Thanks, Gary
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12769
I have not found any. Have you thought about trying to compile the existing java.util.zip classes with J2ME libraries?
Gary LaRock

Joined: Nov 05, 2001
Posts: 2
Unfortunately the existing java.util.zip package classes rely on a native zlib library. I've been playing around with jzlib with some success (it compiles at least). See http://www.jcraft.com/jzlib/.
It is sorta covered in the JavaRanch Style Guide.
subject: J2ME gzip/zlib library?