Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

can someone create a dmg file or hints to install Java3D on MacOSX?

Return to the EJS Modeling forum
Login to post to this thread

can someone create a dmg file or hints to install Java3D on MacOSX - Nov 18, 2011 at 9:34AM
lookang Avatar
118 Posts

can someone create a dmg file or hints to install Java3D on MacOSX.

currently, my Java3D models, it cannot be run on MacOSX
for example,

i been trying to install Java 3D manually by following the instructions on
Java 3D 1.5.1 1.82 MB
inside this is a html file with the following steps which didnt work for me.

Linux, Solaris, Mac OS X
The 1.5.1 version of the Java 3DTM API for Linux or Solaris runs on JDK version 1.5.0 and higher. To manually install this build, do the following:

Download to a temporary directory, for example, "/tmp"

Unzip into "/tmp" as follows:

cd /tmp
unzip java3d-1_5_1-*.zip

This will create a "java3d-1_5_1-XXX" subdirectory in /tmp where the downloaded files can be found. The file you need for manual installation is "".

Unzip Java 3D 1.5.1 into the "jre" directory of your JDK. For example, if your JDK is in "/usr/java/jdk1.6.0_01/jre", you would do the following:

cd /usr/java/jdk1.6.0_01/jre
unzip /tmp/java3d-1_5_1-*/

Verify that the j3dcore.jar, j3dutils.jar, and vecmath.jar files end up in "/usr/java/jdk1.6.0_01/jre/lib/ext"

and this guys help is 4 years old and didnt work for me too

Installing Java3D 1.5 on Mac OS X
By mart on Oct 23, 2007

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!

Download Java3D 1.5's zip binaries (Zip binaries for manual installation) for Mac OS X from
Extract the binaries zip file and also extract the contained file.
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 file.
Download the latest JOGL build from
Remove the old Java3D native libs (libJ3D.jnilib, libJ3DAudio.jnlib, libJ3DUtils.jnilib) from /System/Library/Java/Extensions/
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)

can someone help ?
:) thanks!

Current Replies - View all
Re: can someone create a ...   (Francisco Esquembre - Nov 18, 2011 at 12:50PM)
Re: Re: can someone creat...   (lookang - Nov 18, 2011 at 11:05PM)
Re: Re: Re: can someone c...   (Francisco Esquembre - Nov 19, 2011 at 5:06AM)
Re: Re: Re: Re: can someo...   (lookang - Nov 19, 2011 at 5:34AM)
The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics