I have a applet that works, but when I try to run it in a html file with this code:
<APPLET CODE="MyApplet.class" WIDTH=100 HEIGHT=100>
It gives a very weird error:
java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file
Searching about Incompatible magic value at Google tells me a lot of stuff about jar files. I have no idea what jar files are?
So what are jar files. And anyone has got an idea how to fix this?