I’m having problems getting jogl to work.
I’ve followed all the instructions but just can’t get it to work.
I’m using windows xp home and downloaded jogl-1.1.1-windows-i586 which I placed in My Documents\java\jogl.
I set the classpath and path environment variables to point to the jogl directory.
So first I import everything with:
import javax.media.opengl.*;
then I have something like this:
public static void main(String[] args){
GLCanvas canvas = new GLCanvas();
}
It compiles without any problems but when I run it I get this error:
Exception in thread “main” java.lang.NoClassDefFoundError: javax/media/opengl/GLCanvas
Caused by: java.lang.ClassNotFoundException: javax.media.opengl.GLCanvas
…
…
Does anyone know what I am doing wrong?