Re: Java 3D in eclipse Mac OSX not functioning
Posted by CMBR on Sep 03, 2014; 3:43pm
URL: https://forum.jogamp.org/Java-3D-in-eclipse-Mac-OSX-not-functioning-tp4033010p4033026.html
Unfortunately I have tried searching all over and can't find any loose Java3D 1.5 .jars, I have tried placing the 1.6 pre release .jars in different places with no luck, really no idea how to get rid of Java3D 1.5, when you say set java.ext.dirs, you mean java -Djava.ext.dirs=/foo/bar/baz:/bleem/grumpf MyApp right?
EDIT: I get the following in the terminal,
craigs-mbp:bin Craig$ java -Djava.ext.dirs="" Main
Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/j3d/Node
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
at java.lang.Class.getMethod0(Class.java:2813)
at java.lang.Class.getMethod(Class.java:1663)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
Caused by: java.lang.ClassNotFoundException: javax.media.j3d.Node
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)
... 6 more