NoClassDefFound

Started by D4rk-fr33dan, March 21, 2007, 23:03:24

Previous topic - Next topic

D4rk-fr33dan

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

Matzon

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.

D4rk-fr33dan

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.