• Post Reply Bookmark Topic Watch Topic
  • New Topic

applet incompatible magic value  RSS feed

 
Pinda Ros
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I have developed an applet and when I try to run it from a web server I get the following error

java.lang.ClassFormatError: Incompatible magic value 218762506 in class file com/ext/portlet/notepad/applet/MenuForNotepadApplet

any idea what this means?

If it helps I load it from a jsp using jsp lugin tag.

thank you in advance.

pinda
 
Arto Pastinen
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your class is broken.
 
Pinda Ros
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually it was a java bug and a differntiation of the two copies of that file.
The one was signed and the copy of it at the server was not.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!