Re: Java 3D in eclipse Mac OSX not functioning
Posted by
gouessej on
Sep 03, 2014; 11:17am
URL: https://forum.jogamp.org/Java-3D-in-eclipse-Mac-OSX-not-functioning-tp4033010p4033017.html
Ok, sorry, this is not what I meant, use "java -cp" in command line or the Java Build Path when you need to modify the classpath, don't use platform-dependent environment variables. There is a reason why I never mention those environment variables in my tutorial.
Oracle Java JRE 7 works.
As you still get the same error, there is still an old version of Java3D (1.5?) installed on your machine as the latest version (1.6) does NOT use apple.awt.* classes. Please read carefully my tutorial, I mention the most common directories in which you might find Java3D installed as an extension. I use OS X only several times a year, I understand your difficulties but I try to keep my tutorial far from unnecessary particularities of each OS.
As Harvey wrote in 2012, Java3D 1.6 is completely compatible with Java3D 1.6. There is no hidden meaning, he meant that it isn't possible to make your program work with Java3D 1.5 under newer versions of OS X whereas it is obviously possible with Java3D 1.6. Please uninstall Java3D 1.5 as advised in my tutorial. Then, everything should work, don't tinker $CLASSPATH. As long as Java3D 1.5 is installed as an extension, it will be loaded in priority by any program.