NegativeArraySizeException when loading jars

Post Reply
emeraldemon
Posts: 1
Joined: Thu Aug 09, 2007 7:34 pm

NegativeArraySizeException when loading jars

Post 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
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

Post 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
User avatar
jowobot
Posts: 1
Joined: Tue Aug 21, 2007 1:06 am

NegativeArraySizeException

Post by jowobot »

why r u creating jar to load, try to get a new SDK version from java sun.
Post Reply