Martin Morissette

Team A51 - SunLabs
Tuesday Oct 23, 2007

Installing Java3D 1.5 on Mac OS X

So after doing this procedure many times on many different Macs, I've decided to write a quick HOWTO guide for both myself and everyone else out there that wants to install Java3D 1.5 on a Mac OS 10.4 computer.

Java3D is now built on top of the Java OpenGL Bindings (JOGL) and therefore has no more native calls. All the native calls are in JOGL and that module is being actively maintained by the developers for all platforms including Mac OS X!

  1. Download Java3D 1.5's zip binaries (Zip binaries for manual installation) for Mac OS X from java.net.
  2. Extract the binaries zip file and also extract the contained j3d-jre.zip file.
  3. Replace the j3dcore.jar and j3dutils.jar and vecmath.jar in /System/Library/Java/Extensions/ with the ones found in the lib/ext folder extracted from the j3d-jre.zip file.
  4. Download the latest JOGL build from Java.net.
  5. Remove the old Java3D native libs (libJ3D.jnilib, libJ3DAudio.jnlib, libJ3DUtils.jnilib) from /System/Library/Java/Extensions/
  6. Copy the content of the lib folder contained in the zip file to /System/Library/Java/Extensions/ (gluegen-rt.jar, jogl.jar, libgluegen-rt.jnilib, libjogl_awt.jnilib, libjogl_cg.jnilib, libjogl.jnilib)
  7. Try your setup by launching any of the Web Start Demos from the Java3D website
Reference: Jason Harwig's Java3D 1.5 on Mac OS X

Thursday Oct 18, 2007

Back at the labs

So I am now back at the labs for a second internship! I am part of the Area 51 Team working on some SunSPOT things! I'll be adding a Java3D view to SpotWorld which allows to view all the nodes in a Wireless Sensor Network (WSN) and eventually see the connectivity and traffic information of the WSN on that same view. This should allow for more efficient and definitely cooler management of a SPOT network! Lots more work is planned for later, but let's concentrate on the 3D stuff first!

Tune in for more info on the project. I should be adding screenshots as it all takes shape!


Archives
Links
Referrers