Login  Register

Re: Exception in thread “main” java.lang.NoClassDefFoundError: org/j3d/aviatrix3d/DrawableSurface

Posted by philjord on Apr 23, 2016; 12:04pm
URL: https://forum.jogamp.org/Exception-in-thread-main-java-lang-NoClassDefFoundError-org-j3d-aviatrix3d-DrawableSurface-tp4036647p4036649.html

smitthy,
It looks like you are using Aviatrix3D (http://aviatrix3d.j3d.org/).

Although they use the package name j3d there is no overlap with Java3D (which is a similar but totally separate scene graph).

So your question won't be properly answered in this forum.

I notice in this discussion with Luke Woodward:
http://stackoverflow.com/questions/35638321/java-lang-illegalaccesserror-when-running-code

He asked you to use:
xj3d-2.1-3rdparty-nps.jar
xj3d-2.1-nps.jar
from https://sourceforge.net/projects/xj3d/files/installers/

I see that the source forge download is some sort of crazy installer, however you can get the 2 jars he mentions from here:
https://savage.nps.edu/Xj3D.nps/jars/

Then you'll have to follow Luke's instructions on making it work with Xj3D 2.

Good luck...