NoClassDefFoundError

classic Classic list List threaded Threaded
3 messages Options
Pat
Reply | Threaded
Open this post in threaded view
|

NoClassDefFoundError

Pat
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: NoClassDefFoundError

gouessej
Administrator
This post was updated on .
Hey

No you don't have all JARs, you get a NoClassDefFoundError on a class coming from GlueGen. Either jogamp-fat.jar (containing GlueGen, JOGL, JOAL, JOCL, ...) is missing from your build path or you try to run your program by a mean that doesn't take into account the build path (for example by using a launcher inside Eclipse but based on a build tool or a build system, typically Ant, Gradle, Maven, ...).

My tutorial just works, it has been used by hundreds of programmers.

If you are dyslexic, maybe ask another programmer to have a look at your settings, you might be missing an obvious spelling mistake in a path somewhere.

Finally, if you use "java -jar", don't forget that:
When you use this option, the JAR file is the source of all user classes, and other user class path settings are ignored.
https://docs.oracle.com/javase/7/docs/technotes/tools/solaris/java.html

P.S: Ensure that the JAR files you downloaded aren't corrupted. Some web browsers try to wrap JARs into ZIP files which break them :s Yes, a ridiculous security feature :(
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: NoClassDefFoundError

gouessej
Administrator
In reply to this post by Pat
Why have you deleted your message? What was wrong?
Julien Gouesse | Personal blog | Website