Login  Register

Re: Error on Running JOGL 2.0 Example D:

Posted by Turelim on Sep 13, 2011; 3:05pm
URL: https://forum.jogamp.org/Error-on-Running-JOGL-2-0-Example-D-tp3331823p3332856.html

I'm just installed the build 466 from https://jogamp.org/deployment/autobuilds/master/ replacing files from the signed release 2.0-b20, but the example still not running; this time the program throws this error:
Exception in thread "main" java.lang.NoSuchFieldError: OS_TYPE
        at javax.media.nativewindow.NativeWindowFactory._getNativeWindowingType(NativeWindowFactory.java:105)
        at javax.media.nativewindow.NativeWindowFactory.initSingleton(NativeWindowFactory.java:181)
        at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1168)
        at javax.media.opengl.GLProfile.access$000(GLProfile.java:71)
        at javax.media.opengl.GLProfile$1.run(GLProfile.java:112)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:110)
        at javax.media.opengl.GLProfile.validateInitialization(GLProfile.java:1448)
        at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:1606)
        at javax.media.opengl.GLProfile.get(GLProfile.java:613)
        at javax.media.opengl.GLProfile.getDefault(GLProfile.java:441)
        at javax.media.opengl.GLProfile.getDefault(GLProfile.java:449)
        at SimpleScene.main(SimpleScene.java:9)

suggestions :S??