Re: Java 3D in eclipse Mac OSX not functioning
Posted by CMBR on Sep 03, 2014; 6:05pm
URL: https://forum.jogamp.org/Java-3D-in-eclipse-Mac-OSX-not-functioning-tp4033010p4033035.html
This,
craigs-mbp:bin Craig$ java -Djava.ext.dirs="" -cp gluegen-rt.jar:j3dcore.jar:j3dutils.jar:joal.jar:jogl-all.jar:vecmath.jar:. Main
3D [dev] 1.6.0-pre1-1011070059-experimental 07 Nov 2010 00:59:02 PDT
Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/opengl/AbstractGraphicsDevice
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at javax.media.j3d.Pipeline$1.run(Pipeline.java:162)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:157)
at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:954)
at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:299)
at javax.media.j3d.GroupRetained.<init>(GroupRetained.java:161)
at javax.media.j3d.BranchGroupRetained.<init>(BranchGroupRetained.java:55)
at javax.media.j3d.BranchGroup.createRetained(BranchGroup.java:76)
at javax.media.j3d.SceneGraphObject.<init>(SceneGraphObject.java:119)
at javax.media.j3d.Node.<init>(Node.java:178)
at javax.media.j3d.Group.<init>(Group.java:556)
at javax.media.j3d.BranchGroup.<init>(BranchGroup.java:68)
at Main.main(Main.java:68)
Caused by: java.lang.ClassNotFoundException: javax.media.opengl.AbstractGraphicsDevice
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 15 more
PS. I did find a couple of j3D jars in one of those directories so my bad, but yeh... deleted and still getting an error, no more apple awt though.
EDIT: Would it be possible for me to share my class files somewhere and you try compiling it on your macOS? If it doesn't work for you then that might rule out things? The program works 100% on windows 7.