Login  Register

Crash with Java 7 and Macos 10.9.1

Posted by Pierre Nugues on Feb 25, 2014; 9:55am
URL: https://forum.jogamp.org/Crash-with-Java-7-and-Macos-10-9-1-tp4031722.html

I have a Java program using Jogamp and Jogamp's implementation of Java 3D. It works fine with Java 6, but it crashes with Java 7. Here is what I get:

JavaVM WARNING: JAWT_GetAWT must be called after loading a JVM
AWT not found
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: apple/awt/CGraphicsDevice
at javax.media.j3d.GraphicsConfigTemplate3D.<clinit>(GraphicsConfigTemplate3D.java:55)
at javax.media.j3d.GraphicsConfigTemplate3D.<clinit>(GraphicsConfigTemplate3D.java:55)
at com.sun.j3d.utils.universe.SimpleUniverse.getPreferredConfiguration(SimpleUniverse.java:368)
... and then my code.

Do you have an idea how to solve this?