Well, firstly I would suggest you to try using simple "applet" html tag and go through the basic applet configuration, also ponder on this basic cause:
Do you have that class available there, also google for the basic Java Applet example.
Joined: Oct 14, 2009
I have tried the same applet code on the simple HTML page, it worked perfectly. I think because path to archive file is correct.
But when I insert the same code with JSF component, it gives the error.
I have placed the jar file in the lib folder and used archive as an attribute in the plugin tag to the jar file of applet code. Gives same error.
Also tried to put class file in to the classes folder to load applet, again gives same error.