I'm working on a 3d globe application written in java using java3d for the rendering. I've got a windows installer that basically copies files from a development snapshot to the program files directory. It runs fine from the devel snapshot, but when running after an install it does this:
Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1)
javax.media.j3d.IllegalRenderingStateException: GL_VERSION
at javax.media.j3d.NativePipeline.createNewContext(Native Method)
at javax.media.j3d.NativePipeline.createNewContext(NativePipeline.java:2736)
at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4895)
at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2421)
at javax.media.j3d.Renderer.doWork(Renderer.java:895)
at javax.media.j3d.J3dThread.run(J3dThread.java:256)
I've compared the all the libraries and jars in the development directories and the files are all exactly the same and none are missing. It's the weirdest thing. I've updated my graphics drivers (though they're clearly sufficient since things run fine from a devel snapshot). I've written a simple java3d app that is able to make a Canvas3D and add a ColorCube to it. It runs fine. P.s. our development snapshot includes all the dlls, jars, and the jre things run from. We log all the library and jvm versions and they're exactly the same in logs generated from the devel snapshot and the installed application. We run using an explicit path to java.exe (..\jre\bin\java.exe), so the PATH variable isn't in play.
I'm looking for ideas to debug this. I'd like to write a simple java app that prints all the GL attributes, especially GL_VERSION, to try to demonstrate some quantifiable difference between the two set ups. The java3d docs don't cover that, and all internet searches for GL_VERSION problems just tell you to update your drivers.
Oh, I've got Nvidia Quadro FX 3800 cards. Two of 'em actually.
In summary...
Q1: How do you print GL_VERSION for your java3d application?
Q2: What the heck is going on?