> > |
Notes on installing a Java3d !.5 version , using JOGL bindings, onto
Mac OS X
(from http://www.nofluffjuststuff.com/blog_detail.jsp?rssItemId=97558)
the waiting game
No matter what apple says about Java development on the Mac, I always hated the waiting game before I could use some new Java API. First, it was Java 5 Tiger, which because apple ports it themselves to the platform, lagged considerably behind the Sun release. Then, it was Java3D and the JAI API. Even now, the Java3D API on OSX is at 1.3. I'm just glad that the JOGL and Java3d folks found a way to bypass Apple's porting process this time with Java3D 1.5.
Java3D is currently at 1.4.0 stable and has a 1.5 dev version out. The key to all of this is that the 1.5 branch includes the ability to use JOGL to bind the Java3D API to the native OpenGL implementation. What does this provide? Well, since JOGL is already ported to OSX, we can install Java3D 1.5 and JOGL and upgrade our outdated Java3D!
how to do it
Prerequisites
Java 1.5
Mac OS 10.4
Procedure
Download the windows binary of Java3D 1.5 from the Java 3D site
Replace the three jars (j3dcore.jar, j3dutils.jar, vecmath.jar) located in /System/Library/Java/Extensions with the ones in the java3d download. You can back up your old jars to easily revert.
Download JOGL (now called Java Bindings for the OpenGL API).
They have a PPC and universal download, as it's a JNI library
Extract the jogl-natives-macosx-[ppc|universal].jar and copy libjogl.jnilib, libjogl_awt.jnilib, and libjogl_cg.jnilib to /System/Library/Java/Extensions. Make sure to copy jogl.jar here also.
Optional: Test out your install by downloading the j3d-examples
Have fun with all the new features!
|