Home Download > VRforCAD on Mac OS


Install java 6 and java3D 1.5.1 on Mac OS X 10.5.3

To install Java 6 for Mac, go to: http://www.apple.com/support/downloads/javaformacosx105update1.html

To install Java3d 1.5.1, go to: https://java3d.dev.java.net/binary-builds.html and get the java3d-1_5_1-macosx.zip

Unpack it (also the j3d-jre.zip file) and from lib/ext folder and copy: j3dcore.jar j3dutils.jar vecmath.jar to /Library/Java/Extensions/ (you need root rights for this (to enable the root user see: http://support.apple.com/kb/HT1528)).

Also, to access the hardware rendering you must install Java OpenGL (JOGL). For this, go to https://jogl.dev.java.net than chose Current release build, download and unzip the ogl-1.1.1-macosx-universal.zip file, copy from lib folder all files (gluegen-rt.jar jogl.jar libgluegen-rt.jnilib libjogl.jnilib libjogl_awt.jnilib libjogl_cg.jnilib) to /Library/Java/Extensions/

In the /System/Library/Java/Extensions folder, rename (add _old to the files' name) the following files: j3dcore.jar j3dutils.jar vecmath.jar gluegen-rt.jar jogl.jar libgluegen-rt.jnilib libjogl.jnilib libjogl_awt.jnilib libjogl_cg.jnilib.


Run VRforCAD on Mac OS X 10.5.3

To run the VRforCAD application, open a terminal and type (user):

sh runVRforCAD_Mac.sh

or make a link to java6 from terminal (root): ln -s /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/java /usr/bin/java6 and type on a terminal (user): java6 -jar VRforCAD.jar

To use Apache ant an Mac to build the project use: ant -buildfile build.xml all (without -buildfile option you may get the error: Target "build.xml" does not exist in the project "VRforCAD".)




 
Last update: Tuesday, 27-May-2014 18:34:52 UTC
© Copyrights 2006-2011 Daniel Cioi - All rights reserved
GPL SourceForge.net Logo