views:

474

answers:

1

I have recently installed OS X on my MBP and am wanting to set up java3d on it. I have set this up on windows which proved a lot easier with the installer provided.

the mac install instructions can be found here: http://inverse.chi.googlepages.com/README-unzip.html

I have placed both the j3d and jogl libs in my home directory /Users/malachisoord/j3d and /Users/malachisoord/jogl

but i am unsure how to set up the classpath variables. I understand i need to modify this to put malachisoord instead of my home. But i've never really delt with classpath variables before.

any help would be greatly appreciated.

I have followed the advice that the person below has told me and used the j3d that is built in to mac os x - however i am having problems with this such that it is rendering my code with no colour - however the same code when run on windows works perfectly. Any clue to what this could be? anyone else have this issue with an out of the box installation of os x 1.5?

I've noticed someone else having this issue here

+2  A: 

Java3D is already included in Mac OS X, though it may be an older version (Mac OS X 10.4 includes Java3D 1.3.1).

Wikipedia has good coverage of the classpath at http://en.wikipedia.org/wiki/Classpath_(Java) and if that doesn't help another overview can be found at http://www.kevinboone.com/classpath.html

Sheldon Young
Ahh - is that why there are libraries in the System/Library/Java/Extentions related to j3d? How would I consume these in eclipse?because i try and run some code and it just terminates. I am compiling with 1.6
Malachi