Hi everyone,
I'm having some major issues with getting JOGL to work on snow leopard.
I've installed all the necessary JOGL jars in
/system/library/java/extensions
I can get sample code to compile but when I attempt to run it it throws the error following error on trying to actually display the window.
Exception in thread "main" java.lang.RuntimeException: Unable to initialize JAWT
at com.sun.nativewindow.impl.jawt.JAWT$1.run(JAWT.java:100)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.nativewindow.impl.jawt.JAWT.getJAWT(JAWT.java:95)
at com.sun.nativewindow.impl.jawt.macosx.MacOSXJAWTWindow.lockSurface(MacOSXJAWTWindow.java:65)
at com.sun.opengl.impl.GLDrawableImpl.lockSurface(GLDrawableImpl.java:144)
at com.sun.opengl.impl.macosx.cgl.MacOSXCGLDrawable.setRealizedImpl(MacOSXCGLDrawable.java:87)
at com.sun.opengl.impl.GLDrawableImpl.setRealized(GLDrawableImpl.java:120)
at javax.media.opengl.awt.GLCanvas.addNotify(GLCanvas.java:413)
at java.awt.Container.addNotify(Container.java:2622)
at java.awt.Window.addNotify(Window.java:662)
at java.awt.Frame.addNotify(Frame.java:470)
at java.awt.Window.show(Window.java:858)
at java.awt.Component.show(Component.java:1563)
at java.awt.Component.setVisible(Component.java:1515)
at java.awt.Window.setVisible(Window.java:841)
at SimpleJOGL.main(SimpleJOGL.java:45)
Has anyone seen this error before and if they have how did you fix it?
Regards
James
EDIT: This error appears using both Java 1.5 and Java 1.6 and I've tried JOGL beta 5, beta 10 and the nightly builds