LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: D4rk-fr33dan on March 21, 2007, 23:03:24

Title: NoClassDefFound
Post by: D4rk-fr33dan on March 21, 2007, 23:03:24
Whenever I try to run the code from this tutorial (http://lwjgl.org/wiki/doku.php/lwjgl/tutorials/opengl/basicopengl) I get a NoClassDefFound error.  I have tried in both JCreator and Eclipse and keep getting the same error.  I have followed the installation instructions from http://www.lwjgl.com/installation.php exactly and tried putting a copy of the jar files directly in the build area to no avail.  Any help would be greatly appreciated
Title: Re: NoClassDefFound
Post by: Matzon on March 21, 2007, 23:37:47
Well since you're getting a noClassDefFound error its obvisouly because you're missing a jar on the classpath.
You need to work out how your IDE work with regards to class paths - and make sure that the missing class is in one of your jars.
Title: Re: NoClassDefFound
Post by: D4rk-fr33dan on March 21, 2007, 23:54:17
Ok three days of working on this and 5 minutes after I finally break down and ask for help I figure out the problem. It turns out it didn't have anything to do with the jars but the fact that I had made a typo in the final part of installing for Eclipse.