Stupid runtime problem...

Hi !

I have installed the jogl.jar and dlls in the lib/ext directory and the code compiles without problems, but when I try to run it it will not find the jar, I get:

Exception in thread “main” java.lang.NoClassDefFoundError: net/java/games/jogl/G
LCanvas
at Test.(Test.java:12)

I cannot figure out why I get this as I don’t have any problems compiling the code.

I also tried to put the jogl.jar in the same directory as the test application and set the classpath pointing to this jar, but it still refuse to run.

Any ideas ?

(Windows XP, jdk 1.4.2 and latest jogl binary release)

Mikael

Hi,

it seems that you have installed jogl only in the jre of your jdk. You should also install it to your plain jre. If you have a window system check: c:\program files\java or c:\program files\javasoft. If you have such a directory also install jogl to the jres which are located there.

ciao torsten