I’ve installed JOGL 1.1.1 for the first time on my Linux FC7 system. I’ve been developing Java apps for some time using my own (e.g., not RedHat’s) Java installation:
$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
I downloaded n unwound the JOGL-1.1.1 as well as the demos. When I try to run the Gears demo, I get this:
+ JOGL_HOME=.
+ JOGL_LIB=./lib
+ JOGL_DEMO_LIB=./demolib
+ unset LD_LIBRARY_PATH
+ LD_LIBRARY_PATH=
+ CLASSPATH=
+ CLASSPATH=./lib/jogl.jar:./lib/gluegen-rt.jar
+ CLASSPATH=./lib/jogl.jar:./lib/gluegen-rt.jar:./demolib/jogl-demos.jar:./demolib/jogl-demos-util.jar:./demolib/jogl-demos-data.jar
+ java -Djava.library.path=./lib -Dsun.java2d.opengl=true -Dsun.java2d.opengl.fbobject=false -cp ./lib/jogl.jar:./lib/gluegen-rt.jar:./demolib/jogl-demos.jar:./demolib/jogl-demos-util.jar:./demolib/jogl-demos-data.jar demos.gears.Gears
Error: OpenGL failed to create a rendering context for this application.
Either the application ask for indirect rendering, or direct rendering
cannot be setup properly.
Indirect rendering is not yet supported by this implementation of OpenGL.
Exception in thread "Thread-1" javax.media.opengl.GLException: javax.media.opengl.GLException: Unable to create OpenGL context
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
at com.sun.opengl.util.Animator.display(Animator.java:144)
at com.sun.opengl.util.Animator$MainLoop.run(Animator.java:181)
. . . .
The JOGL installation manual describes a condition about using the Sun JDK ‘compatibility’ RPMs - I don’t have any of those installed. However, I’m guessing there’s still something trying to use the /usr/lib/libGL.so.1 library?
I reeeeeeally want to start using these libs on my system. Help!