Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bad magic number, please help

 
kevin_liu
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a test page here: http://www.meetcrg.com/clientMedia/drl_bankri/HotMedia/bankri_kids.htm
I am using IE6 WINXP Pro to access it, got this error in JavaConsole:

java.lang.ClassFormatError: hm35/class (Bad magic number)

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

I can run it locally just fine, it only happens when I put it on the web. But I had my friends logged on to that page and run just fine!
What could the reason be??? Please help! Thanks!
 
Joe Ess
Bartender
Posts: 9339
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Works fine for me. Bad magic number means that the class file is corrupted. It either got mangled on download or may be sitting on your machine somewhere. Clear your browser cache and search your hard drive for that file and weed out any unnecessary duplication.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic