Unable to initialize JAWT

Hi I am having issues running code that my professor has assigned. I am running the program on OS X 10.7.5 java 1.7.0_55 using eclipse. Here is the exception any help would be appreciated. I have been searching for a fix for a few days now.

Exception in thread “main-AWTAnimator-1” java.lang.RuntimeException: Unable to initialize JAWT
at jogamp.nativewindow.jawt.JAWT$1.run(JAWT.java:103)
at java.security.AccessController.doPrivileged(Native Method)
at jogamp.nativewindow.jawt.JAWT.getJAWT(JAWT.java:98)
at jogamp.nativewindow.jawt.macosx.MacOSXJAWTWindow.lockSurfaceImpl(MacOSXJAWTWindow.java:68)
at jogamp.nativewindow.jawt.JAWTWindow.lockSurface(JAWTWindow.java:123)
at jogamp.opengl.GLDrawableImpl.lockSurface(GLDrawableImpl.java:187)
at jogamp.opengl.GLDrawableImpl.setRealized(GLDrawableImpl.java:148)
at javax.media.opengl.awt.GLCanvas.validateGLDrawable(GLCanvas.java:559)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:382)
at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:74)
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:140)
at com.jogamp.opengl.util.Animator$MainLoop.run(Animator.java:180)
at java.lang.Thread.run(Thread.java:745)
Exception in thread “AWT-EventQueue-0” java.lang.InternalError
at jogamp.opengl.awt.Java2D.invokeWithOGLContextCurrent(Java2D.java:301)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:93)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:197)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:164)
at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:767)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:388)
at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:487)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264)
at sun.lwawt.LWRepaintArea.paintComponent(LWRepaintArea.java:54)
at sun.awt.RepaintArea.paint(RepaintArea.java:240)
at sun.lwawt.LWComponentPeer.handleJavaPaintEvent(LWComponentPeer.java:1267)
at sun.lwawt.LWComponentPeer.handleEvent(LWComponentPeer.java:1150)
at java.awt.Component.dispatchEventImpl(Component.java:4937)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Jacob Pickens had a similar problem with one of my LWJGL programs.
It looks like MacOSX does somehow not support java awt anymore.

I’ve experienced this error with LWJGL 2.8 but upgrading to 2.9, this error vanished. Not sure about JogAmp really…

Same for me. A new error occured but this one was fixed.