Re: Can't Initialize!
Posted by
Wade Walker on
Jan 14, 2011; 10:41pm
URL: https://forum.jogamp.org/Can-t-Initialize-tp2112742p2258847.html
Sorry for my basic-level replies François, I didn't realize you were a JOGL expert from version 1.1.1a

Have you tried testing JOGL 2 all by itself, without any of your own code? This will make it clear whether the problem is your code/setup, or JOGL 2 itself on your platform. Try something like this:
java -cp gluegen-rt.jar:nativewindow.all.jar:jogl.all.jar:newt.all.jar:jogl.test.jar:junit.jar:ant.jar:ant-junit.jar -Djava.library.path=lib com.jogamp.opengl.test.junit.jogl.demos.gl2.gears.TestGearsAWT
You'll have to adjust the paths to the JARs and libraries, of course. This will launch the Gears demo directly from the JOGL 2 installation files. If this works, you know the problem is in your setup somewhere