[Source] problem with jgeom build, java3d dependency

Don Brutzman brutzman at nps.edu
Thu Jan 2 14:18:23 PST 2014


Vince thanks for this command-line invocation that is working on your Windows 7 32-bit system:

java -cp dist/lib/jgeom-core.jar  net.jgeom.j3d.examples.ArbitraryNURBSGeometry

Got a new error:
java.lang.NoClassDefFoundError: javax/media/j3d/Canvas3D
[etc.]

This seems to indicate (as supposed before) that the Java3D install wasn't complete.

StackOverflow article

"Why am I getting ClassNotFoundExpection when I have properly imported said class and am looking at it in its directory?"
http://stackoverflow.com/questions/10827452/why-am-i-getting-classnotfoundexpection-when-i-have-properly-imported-said-class

java -cp "C:\code\java\jgeom-code\trunk\dist\lib\jgeom-core.jar;C:\Program Files\Java\Java3D\1.5.1\lib\ext/jgeom-core.jar;C:\Program Files\Java\Java3D\1.5.1\lib\ext\j3dutils.jar;C:\Program Files\Java\Java3D\1.5.1\lib\ext\vecmath.jar;" -Djava.library.path="C:\Program Files\Java\Java3D\1.5.1\bin\j3dcore-ogl.dll" net.jgeom.j3d.examples.ArbitraryNURBSGeometry

but still getting
java.lang.NoClassDefFoundError: javax/media/j3d/Canvas3D

It's reassuring that you got it to launch - existence proof - but more is needed to get it repeatable.

Any experts out there?

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



More information about the Source mailing list