OK this has been bugging me all day! I got hold of a java applet UUPLOAD, of which the test page is here: http://admin.propmedia.host22.com/uuploadpro/
As you can see the above page works, as does the uploader. However, when the uploader is placed on the desired page in my website it presents the following error:
java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file unlimited/ftp/UUploadPlugin
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
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 1008813135 in class file unlimited/ftp/UUploadPlugin
I have done many searches about this problem and have found that the general consensus for problem of this kind is that the file UUploadPlugin is corrupt and other people with this problem have been told to check the file with a hex editor to ensure the first hex string is CAFEBABE. I suspected that if it was corrupted then the test page above wouldn't work either as that and my implemented page point to the same file. However, was running out of ideas so i checked it anyway and it IS cafebabe, so that rules that out of the equation.
The code placed on my website's page is exactly the same as the one in the test page above, but raising up a level to reach the applet file. Have tried moving it down to the same folder as the page but still doesnt work!!
What else can i check :( :(