Howto: install JOGL for Eclipse in Mac OSX 10.6?

jonas picture jonas · Mar 23, 2010 · Viewed 12.2k times · Source

I got Snow Leopard 64 bit, and I'm wondering how I am to install JOGL in order to develop with Eclipse.

A nice tut from A-Z would have been nice, since I'm suspecting some of my steps are very wrong.

--Edit: 28.aug.2012--

JOGL 1.1 is only compatible with Java JDK 1.6 not JDK 1.7. Tested on OSX Mountain Lion (10.8.1).

Answer

job picture job · Mar 23, 2010
  1. Download jogl
  2. Create a new project, and unzip the lib folder from the file you downloaded into the project.
  3. Add the jogl.jar and gluegen-rt.jar to the build path. Right click jogl.jar in the package explorer in the build path. Click "Properties", and set the "Native Libraries" option to point to the same lib folder that should also contains four *.jnilib files.