Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I have down loaded the three jar files for Java3D 1.6.0-pre9 and included
them in the Eclipse build paths of two Eclipse development environments. The first is Eclipse 4.2.2 32 bit with Java 8 1.8.0-b69 32 bit, The other is Eclipse 4.2.2 64 bit with Java 8 1.8.0-b129 64 bit. Tests with the 32 bit environment work fine. Tests with the 64 bit environment fail with 3D [dev] 1.6.0-pre9-daily-experimental daily Exception in thread "main" java.lang.NoClassDefFoundError: com/jogamp/opengl/FBObject at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:259) at javax.media.j3d.Pipeline$PipelineCreator.run(Pipeline.java:74) at javax.media.j3d.Pipeline$PipelineCreator.run(Pipeline.java:61) at java.security.AccessController.doPrivileged(Native Method) at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:91) at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:837) at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:274) at dms.j3d.ViewImageA.<init>(ViewImageA.java:28) at j3d.EggTFVI.main(EggTFVI.java:35) Caused by: java.lang.ClassNotFoundException: com.jogamp.opengl.FBObject at java.net.URLClassLoader$1.run(URLClassLoader.java:372) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:360) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 10 more The same tests run fine with the jar files for Java3D 1.5.1 on both the 32 and 64 bit systems. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Have you also included the JOGL jar files in the build path? The errors seem to suggest it can't find the JOGL classes.
http://gouessej.wordpress.com/2012/08/01/java-3d-est-de-retour-java-3d-is-back/#installation Harvey |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by DMS
I have just updated the 32 bit version of Java to 1.8.0_20-ea-b05 and that environment
now fails the same as the 64 bit one. I changed the Eclipse build path back to 1.5.1 and now it works. It looks like something introduced into Java 1.8 after b69 I will put the problem on the Java 1.8 forum and see what they think. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Please make sure you have also added the _JOGL_ jar files to the build path, that is almost certainly your problem.
Java3D 1.6 requires JOGL to function. Harvey |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by DMS
Please check whether your environment is 100% clean, check whether there is no version of Java3D installed as an extension, no DLLs of Java3D 1.5 in the path environment variable and check whether you have strictly followed my instructions (on my blog) as Harvey advised you. I remind you that installing several versions of Java3D can cause a lot of trouble, especially those <= 1.5.2.
Julien Gouesse | Personal blog | Website
|
Free forum by Nabble | Edit this page |