You should use the JarFile API and iterate over the files in it. It shouldn't be hard to do. This article might be a good start.
And as for the bytecode you could just treat each (uncompressed) class file as a byte array and calculate a hash, maybe an MD5 hash of each file and compare it to previous hash.