Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Howto: install JOGL for Eclipse in Mac OSX 10.6?

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).

like image 496
jonas Avatar asked Mar 23 '10 20:03

jonas


People also ask

How to install jogl in Eclipse?

In the Eclipse menu bar, select Windows->Preferences. The left side of the Preferences frame has a number of options. Select Java->BuildPath->User Libraries. You need to make a new user library, so click the New button, then give a name such as “jogl” in the dialog box that pops up.


2 Answers

  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.
like image 90
job Avatar answered Sep 30 '22 13:09

job


When using JogAmp JOGL 2 you only need to include jogl-all.jar and gluegen-rt.jar to your project. All the macos x specific native jars will be automatically found at runtime if they are located next to the jogl-all.jar and gluegen-rt.jar http://jogamp.org/wiki/index.php/Downloading_and_installing_JOGL

like image 28
xranby Avatar answered Sep 30 '22 13:09

xranby