Pack200 Verify Error

Hi all,

I completed my 2013 entry. The jar file works great: http://brasurf.com.au/DemolitionDerby4K/

However, I then ran Pack200 on it: pack200 xxx.pack.gz xxx.jar and uploaded it to the Java4K site: http://www.java4k.com/index.php?action=games&method=view&gid=431 And when trying to run it, it now throws an error:

I can’t figure out what I’ve done wrong? Any ideas would be greatly appreciated!

Thanks.

The game works fine for me.

Thanks Jimmt. I just tried it on my other computer, and you’re right, it works fine. Must be something odd with the Java install on this computer. ::slight_smile:

Cheers.

The java bytecode verifier’s strictness varies among JRE versions. Did you let Proguard mess with the bytecode?

Does this occur only with Proguard?

I am running it through proguard. I’m using the 4KJO tool.

Weird thing is I use the same 4KJO tool on my previous years entries, and they all run fine on this computer.

Hmm. I just went into the Windows 7 Control Panel -> Java -> Temporary Internet Files -> Settings -> Delete Files. And trashed all the cached files. Now it works fine on this computer.

I have a feeling something odd happened when I was switching from Java 7 then back to Java 6 (I upgraded to 7, then realised 7 made a larger compile, so I switched back to 6, and all the time I was testing in the browser).