JOGL2 RC5 on Windows Vista has a NoSuchMethodError on javax.media.opengl.GLDrawableFactory.initSingleton()
Posted by Martin on Feb 27, 2012; 9:43pm
URL: https://forum.jogamp.org/JOGL2-RC5-on-Windows-Vista-has-a-NoSuchMethodError-on-javax-media-opengl-GLDrawableFactory-initSingl-tp3782200.html
Hi,
A jzy3d user has a problem initializing a GLCapabilities. A very simple code without jzy3d can let jogl fail:
public class StupidTest {
public static void main(String[] args) {
new GLCapabilities(GLProfile.getDefault());
}
}
Will:
Exception in thread "main" java.lang.NoSuchMethodError: javax.media.opengl.GLDrawableFactory.initSingleton()V
at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1244)
at javax.media.opengl.GLProfile.access$000(GLProfile.java:75)
at javax.media.opengl.GLProfile$1.run(GLProfile.java:133)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:122)
at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:151)
at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:1688)
at javax.media.opengl.GLProfile.get(GLProfile.java:652)
at javax.media.opengl.GLProfile.getDefault(GLProfile.java:478)
at javax.media.opengl.GLProfile.getDefault(GLProfile.java:486)
Some info on the computer:
OS: windows vista home edition, service pack 2
GC: SiS Mirage 3
Proc: Intel pentium dual CPU T3400
The list of jars in the path:
gluegen-rt-natives-linux-amd64.jar
gluegen-rt-natives-linux-i586.jar
gluegen-rt-natives-macosx-universal.jar
gluegen-rt-natives-solaris-amd64.jar
gluegen-rt-natives-solaris-i586.jar
gluegen-rt-natives-windows-amd64.jar
gluegen-rt-natives-windows-i586.jar
gluegen-rt.jar
jogl-all-natives-linux-amd64.jar
jogl-all-natives-linux-i586.jar
jogl-all-natives-macosx-universal.jar
jogl-all-natives-solaris-amd64.jar
jogl-all-natives-solaris-i586.jar
jogl-all-natives-windows-amd64.jar
jogl-all-natives-windows-i586.jar
jogl.all.jar
I don't have this problem on my Win7.
Hope you have some suggestions.
Thanks for her,
Martin