LWJGL
May 22, 2012, 04:07:30 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Incompatible magic value 1013478509 class file org/lwjgl/util/applet/AppletLoade  (Read 11771 times)
AGP
Newbie
*
Posts: 41


« on: May 07, 2009, 11:31:00 »

I don't get it. Why am I getting this error? Is it a security thing?

java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file org/lwjgl/util/applet/AppletLoader
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file org/lwjgl/util/applet/AppletLoader
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 961



« Reply #1 on: May 07, 2009, 11:51:01 »

you probably compiled your jars for a higher version of java then its trying to run on. for example your applet is compiled for java 1.6 and your trying to run it on java 1.4.
Logged
AGP
Newbie
*
Posts: 41


« Reply #2 on: May 07, 2009, 15:12:53 »

That's very odd, since the only version of both the JDK and the JRE that I'm running is 1.6.0u13. Is it perhaps on the server side (I wouldn't think so)?
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 961



« Reply #3 on: May 07, 2009, 15:21:14 »

hmm, some googling of the issue reveals this thread http://forums.sun.com/thread.jspa?threadID=640927 maybe it'll help.
Logged
AGP
Newbie
*
Posts: 41


« Reply #4 on: May 08, 2009, 12:53:34 »

Thanks for your suggestion. Progress: now I'm getting the following error (with a misspelled "please"):
"An error occurred while loading the applet.
Please contact support to resolve this issue.
Fatal error occurred (5): Corrupted pack file: magic/ver = 3C68746D/62.108 should be CAFED00D/150.7 OR CAFED00D/160.1"
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!