- Download the "jogl.jar" and the platform native libraries like "jogl-natives-macosx-universal.jar".
- Create a new Java project.
- In "project | Properties | Java Build Path" add the "jogl.jar" library.
- Then the tricky bit, add the native libraries. They come is a "jar" from the JOGL website so you may have to extract the DLL's (so's for linux, etc) from the JAR and place them in a new directory. Then just add the path as described in the Martin's web page. i.e. Select the "Native library location" and set it to the location of your DLL's.
- Add some code. I used the "gears.java" class from the demos that come with JOGL.
Development Environment
I use Eclipse for all my Java development. In fact which all it's difference plugins Eclipse is pretty a pretty good development environment for most things, I also use it for PHP, ASP and C/C++ on Linux. I found the following website by Martin John Baker that does a good job of describing the setting up of the Eclipse IDE enviroment for JOGL. Basically, for setting up a simple Java JOGL Application