coll/java: Handle broken jar files more gracefully

Instead of erroring out, record the error and let check/java emit a
tag for (possibly) broken jar files.

Signed-off-by: Niels Thykier <niels@thykier.net>