Here go the instructions for NetBeans 4.x:
- Create dir “C:\jogl”
- Copy the jogl.jar from the binary distribution to it
- Unzip “jogl-natives-win32.jar” to it
You should now have
C:
… jogl
… jogl.jar
… jogl.dll
… jogl_cg.dll
- Create a new project in NetBeans (“Java Application”)
- Right click on the project name, select the “Properties” menu item
- Select the “Libraries” Item on the left
- Click [Add Jar/Folder]
- Navigate the file dialog to “C:\jogl”
- Select the “jogl.jar” and confirm the file dialog
- Select the “Run” Item on the left
- enter “-Djava.library.path=C:\jogl” in the textfield reading “VM Options”
- click [OK]
now you have set up the environment, add the two classes described in the third post of the “How to: Getting started with JOGL” Thread in this forum to your project to get started.
Thats it, no black magic involved…
You should be able to reproduce the steps for JBuilder yourself. Basically it boils down to "add the jogl.jar as library to your project and point the “java.library.path” property to the path with your “jogl.dll”.
Maybe you should pick a better directory than “C:\jogl”, e.g “C:\dev\javalibs\gamecore” and add the jinput an joal jars and dlls, too.