Page 1 of 1

NegativeArraySizeException when loading jars

Posted: Fri Aug 10, 2007 8:53 pm
by emeraldemon
I downloaded the Worm SDK and I can use it on single class files just fine. But when I try to create a jar to load, I get a NegativeArraySizeException. at
org.hacker.engine.JarClassLoader.<init>(JarClassLoader.java:20)

Perhaps I'm creating bad jar files, but I don't know how. Can anyone shed some light on this?

Thanks,
Tom

Posted: Sat Aug 11, 2007 2:01 am
by adum
hi tom, that's a strange error indeed. it means your jar file claims to have an entry of negative size. how did you make the jar file? did you use the ant script i included in the SDK?

cheers,
adum

NegativeArraySizeException

Posted: Tue Aug 21, 2007 1:25 am
by jowobot
why r u creating jar to load, try to get a new SDK version from java sun.