Login  Register

Trying to use Java 3D in Maven

Posted by J. Tolliver on Jan 18, 2016; 10:08pm
URL: https://forum.jogamp.org/Trying-to-use-Java-3D-in-Maven-tp4036050.html

I've followed the thread on mavenizing Java 3D. What's the current status.

I'm trying to modernize some legacy code that uses Java 3D. I'm developing on Mac OS X Mavericks. (Not yet El Capitan, so I don't think I have the problem with the old J3D jars in /System/Library/Java/Extensions. At least they're certainly not there.)

I have Maven dependencies for the jogl-all-main and gluegen-rt-main, both version 2.3.1 Plus Maven dependencies for j3d-core, j3d-core-utils, and vecmath, all version 1.3.1.

It compiles fine, but gets a runtime java.lang.UnsatisfiedLinkError: no J3D in java.library.path.

Is there any way to fix that?

I might add that though I'm developing on OS X, my ultimate target is Windows, if that makes any difference. When last checked, I get the same "no J3D" error on Windows too.

Thanks for any help you can offer.