LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: tianjie_gs on August 05, 2009, 06:14:45

Title: How do I deal with the NoClassDefFoundError exception
Post by: tianjie_gs on August 05, 2009, 06:14:45
java.lang.NoClassDefFoundError: org/lwjgl/opengl/glu/GLU,I install lwjgl and jme,but when I run a sample game,this exception bite me.
Title: Re: How do I deal with the NoClassDefFoundError exception
Post by: Ciardhubh on August 05, 2009, 10:31:14
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).
Title: Re: How do I deal with the NoClassDefFoundError exception
Post by: tianjie_gs on August 06, 2009, 02:12:45
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.