[Source] problem with jgeom build, java3d dependency

Rex Melton rex.melton at jeospace.net
Fri Jan 3 06:18:09 PST 2014


Canvas3D is in j3dcore.jar. Perhaps your command line compile should include

C:\Program Files\Java\Java3D\1.5.1\lib\ext\j3dcore.jar
-------------------------------------------^^^^^^^

in the classpath.


On 1/2/2014 5:18 PM, Don Brutzman wrote:
> 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




More information about the Source mailing list