Applet --> could not initialize class

So I've managed to get pretty far getting an applet up and running but not all the way there yet.



I currently have the following error in the java console:

java.lang.NoClassDefFoundError: Could not initialize class com.jmex.awt.lwjgl.LWJGLCanvas

at com.jme.system.lwjgl.LWJGLDisplaySystem.createCanvas(Unknown Source)

at com.jmex.awt.applet.SimpleJMEApplet.init(Unknown Source)

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

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



Using the following applet code:

<html>

  <body>

    <h1>MyApplet Page</h1>

    <center>

        <applet

            code="myjme.applet.AppletTestBoxColor"

            archive="lwjgl_util_applet.jar,lwjgl.jar,jme.jar,natives.jar,jme-aw

t.jar,myjme.jar"

            width="800"

            height="600">



            <param name="useAppletCanvasSize" value="true"/>

        </applet>

    </center>

    </body>

</html>





All the jars are present and signed.

Any suggestions on what I missed?



Thanks.

you need to tell the applet where to look for native libraries.

java.library.path or something similar

The native libraries are already being found (that was the previous problem).



LWJGLCanvas is present in jme-awt.jar.

jme-awt.jar is included and present.

Closing the browser and restarting has caused this problem to go away.

Thks.