Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The latest versions of JOGL's Java3D fail on Java 8

982319Apr 11 2014 — edited Apr 14 2014

I am still using JOGL's Java3D while JavaFX3D comes of age - far too much still does not work!!

I have been using Java3D 1.5.1 which still works fine.

I have downloaded Java3D 1.6.0_Pre9. This works with b69 but fails with b129 and 1,8,0_20-ea-b05.

I wondered if anyone knows what might have changed to cause the following

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

Thanks

Comments

wizzle2

Jogl and Java3D has their own homepage with forums.

JOGL - Java Binding for the OpenGL API

Ask there but I know Jogl doesn't work well with JavaFX and maybe that has something to do with your problem.

982319

I understand this is the wrong forum but I will put the answer here for completeness.

The problem was solved, as suggested, by using the correct jar files.

I have now got the latest version of Java3D (1.6.0_Pre9) and jogl (2.1.5) working

on a Windows XP 32 bit system and a Windows XP 64 bit system.

Plus the 64 bit system works with both Java/Eclipse 32 bit and Java/Eclipse 64 bit.

To get my test programs working I needed to point Eclipse at the following jar files

JOGL

gluegen-rt.jar

jogl-all.jar

Java3D

j3dcore.jar

j3dutils.jar

vecmath.jar

All my problems after this were caused by what was in my PATH environmental variable -

old jogl dll files and a version of libEGL.dll. Once these were clean up every thing worked.

I can run Java3D programs and I have run several OpenGL Java examples including the

Gears example.

Many regards and thanks

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 12 2014
Added on Apr 11 2014
2 comments
3,866 views