Use the zipdiff tool when you need to compare the contents of two zip files. It is equally suited for comparing jar files, EAR files, WAR files or RAR files.
Run it standalone or as an Ant task. The tool supports three output formats: plain text, XML, and HTML.
zipdiff is written in Java
The current version is 0.4
java -jar zipdiff.jar -file1 foo.zip -file2 bar.zip [ -outputfile diffs.html ] [ -comparetimestamps ] [ -comparecrcvalues ]