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 ar开发者_开发问答e 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).
- Download jogl
- Create a new project, and unzip the lib folder from the file you downloaded into the project.
- 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.
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
精彩评论