I think I've figured out the
best way to set up opengl in eclipse.
For simplicity's sake, I'll use "C:\Jogl" as the install directory. this can be any directory on your harddrive, so it should work for OSX or linux (i actually used my workspace folder to keep everything together)
1) copy jogl*.jar (all the jogl files, including the native ones) into C:\Jogl
2) create a folder inside the jogl folder called jogl-native
3) enter that folder (C:\Jogl\jogl-native)
4) using winzip or another zip extractor, unzip the native libraries into the folder (should now have some .dll, .jnilipm and .so files in the folder)
5) open eclipse if it's not already open
6) Menu -> Window -> Preferences
7) type "user" in the prefernce filter
8) click the "new" button to create a new user library.
9) Name it "Jogl"
10) select the newly created jogl library and click "Add Jars..."
11) browse to where you installed Jogl ("C:\Jogl" in our example) and select "jogl.jar"
12) expand the jar file's options and select "Native Library Location"
13) click edit
14) click external folder
15) browse to the folder where you extracted all the native libraries ("C:\Jogl\jogl-native" in our example) and select this folder
16) close the preferences
17) add a library to your project (right click on project name in eclipse -> build path-> add library)
18) select User Library
19) click next
20) select the "Jogl" library (check the checkbox next to it)
21) close out and you're done!
now you don't have to dirty up your java installation and it's fairly painless to update with new releases of
Jogl