How do I deal with the NoClassDefFoundError exception

Started by tianjie_gs, August 05, 2009, 06:14:45

Previous topic - Next topic

tianjie_gs

java.lang.NoClassDefFoundError: org/lwjgl/opengl/glu/GLU,I install lwjgl and jme,but when I run a sample game,this exception bite me.

Ciardhubh

That probaly means, the code that causes the exception is based on an old version of LWJGL. Some time around 2.0 GLU was moved to org.lwjgl.util.glu.GLU.

Update the calls to the new GLU class or download an older version of LWJGL (possibly 1.1.4).

tianjie_gs

O?jme base on a older version of lwjgl?that is awful.
I think maybe the installation path of lwjgl cause the exception, but I don't know which is the wrong step.I add the jar into my projects, and add these .dll into jre files . If I need rewrite the ClassPath or Path in windows system?
Sorry for my bad english.