Trying to optimise my program as much as possible, using obfuscators etc...... but the step after obfuscation is preverificaiton which always increases the jar size considerably. This has got me wondering is there different more efficient preverifiers out there that I can use other than the Sun Studio one? Or even a better way to write the source for the preverifier step?
I'm afraid there's no solution. Preverification inlines some subroutines and adds stack symbols to the class file. With such modified class file, KVM can verify the bytecode in linear time and small amount of memory. If you remove those extra attributes, verification will fail.