can someone create a dmg file or hints to install Java3D on MacOSX
- Nov 18, 2011 at 9:34AM
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, http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2237.0
i been trying to install Java 3D manually by following the instructions on Java 3D 1.5.1 1.82 MB java3d-1_5_1-macosx.zip 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 java3d-1_5_1-XXX.zip to a temporary directory, for example, "/tmp"
Unzip java3d-1_5_1-XXX.zip 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 "j3d-jre.zip".
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-*/j3d-jre.zip
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 http://blogs.oracle.com/mart/entry/installing_java3d_1_5_on
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 java.net. Extract the binaries zip file and also extract the contained j3d-jre.zip 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 j3d-jre.zip file. Download the latest JOGL build from Java.net. 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)