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? post and replies

Return to the can someone create a dmg file or hints to install Java3D on MacOSX? thread
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
lookang
107 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,
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)

can someone help ?
:) thanks!


http://weelookang.blogspot.sg

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

Re: can someone create a dmg file or hints to install Java3D on MacOSX - Nov 18 2011 12:50PM
Francisco Esquembre
126 Posts

Hi,

Java 3D is installed by default in recent MacOS X systems. The only reason to install it manually is that you have an old operating system... Consider seriously to update.

I remember I once installed Java 3D on an old system. It worked, but it was a really old system and can't remember how I did it. But yes, I got the info from the net.

I know this does not help much. But really, consider to update the OS. (Unless the computer is really old and cannot support a recent version.)

Paco



Re: Re: can someone create a dmg file or hints to install Java3D on MacOSX - Nov 18 2011 11:05PM
lookang Avatar
lookang
107 Posts

My iMac is new the latest model, running 10.6.8 Java update is now on 1.6.9_29-b11-402 Should I buy 10.7 lion? Could that solve my iMac 3d java problem? Thanks !

 

i don't quite understand what is wrong with my iMac...hmmmmm strange

Post edited November 18, 2011 at 11:07 PM EST.

Post edited November 18, 2011 at 11:09 PM EST.

Post edited November 18, 2011 at 11:12 PM EST.


http://weelookang.blogspot.sg


Re: Re: Re: can someone create a dmg file or hints to install Java3D on MacOSX - Nov 19 2011 5:06AM
Francisco Esquembre
126 Posts

Loo Kang,

No need to buy Lion. Java 3D should work on your Snow Leopard system.
I don't know what could be wrong, sorry.
I suggest asking your Mac shop, if possible.

Paco



Re: Re: Re: Re: can someone create a dmg file or hints to install Java3D on MacOSX - Nov 19 2011 5:34AM
lookang Avatar
lookang
107 Posts

Dear paco,
Noted with thanks for taking time to help brainstorm :)
Think I will delete with admin rights the java system extension and reinstall java again.
Hope it works for me :)


http://weelookang.blogspot.sg


The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics