HELP...UnsatisfiedLinkError & NoClassDefFoundE

I tried to run the program from the thread: “How to: Getting started with JOGL”
Link:
http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jogl;action=display;num=1058027992

There’s no problem when I try to compile the program, but when I ran it, I got the UnsatisfiedLinkError on
GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas( glCaps );
Then I just ran the program again without modifing the program, I got a different error called NoClassDefFoundError on the same clause(I use BlueJ 2.0.4). I have no idea why I got this error. I have the jogl.jar and jogl-natives-win32.jar under the jdk1.5.0_01/jre/lib/ext/ and I hope that’s the right place to put them. Anyone please help me with the error I got? Why???

Hi,

You should try the command line version, unzipping the native jar and using -Djava.library.path=[where the dll are].

It should work…

PS : I think you should also unzip the native jar and put the Dlls into jdk1.5.0_01/jre/lib/ext/ but i’m not sure (and i don’t use this way, since and can’t make myself like it!)