Java 3D in eclipse Mac OSX not functioning
Posted by
CMBR on
Sep 02, 2014; 10:37pm
URL: https://forum.jogamp.org/Java-3D-in-eclipse-Mac-OSX-not-functioning-tp4033010.html
So I recently made the switch to Mac OS X 10.9.4 from windows and I am trying to recompile a program I made with Java3D API in eclipse and I am getting the following errors:
JavaVM WARNING: JAWT_GetAWT must be called after loading a JVM
AWT not found
(-5, 12, -1)
Exception in thread "main" java.lang.NoClassDefFoundError: apple/awt/CGraphicsDevice
at javax.media.j3d.GraphicsConfigTemplate3D.<clinit>(GraphicsConfigTemplate3D.java:55)
at com.sun.j3d.utils.universe.SimpleUniverse.getPreferredConfiguration(SimpleUniverse.java:368)
at com.sun.j3d.utils.universe.Viewer.<init>(Viewer.java:348)
at com.sun.j3d.utils.universe.Viewer.<init>(Viewer.java:298)
etc...
I have tried using this guide at:
http://gouessej.wordpress.com/2012/08/01/java-3d-est-de-retour-java-3d-is-back/I do everything that is mentioned there, however I am not entirely sure how I am supposed to deal with my class path? How can I change this or even see what it currently is via the terminal?
EDIT: My program was designed a while ago in Java3D 1.5.1 I think, is it possible for me to somehow get it to compile on the latest MacOSX or would windows BootChamp be the only workaround?
Cheers