....got question though. is there a setting without using the module you linked? just asking out of curiosity.
Yes there is.
- Downloaded the JOGL distribution for your platform (e.g. "jogl-1.1.0-rc3-windows-i586.zip")
- Unzip it into a local folder (e.g. "C:\development\javalibs\")
- Start Netbeans, go to |Tools| -> |Library Manager|
- Click [New Library] and create a "Class Library" named "JOGL-DEPS" (don't
call it JOGL, since this breaks my module
- Click [Add Jar/Folder] and select "jogl.jar" and "gluegen-rt.jar" from the "lib" directory of the unzipped JOGL distribution
- Close the Library Mananger using [OK]
- Create a "Java Application" from Netbeans "General" project templates
- Go to the "Libraries" node of the new project and right click "Add"
- Select "JOGL-DEPS" and close the dialog
- Open the project properties
- Go to the "run" node and add "-Djava.library.path=C:/development/javalibs/jogl-1.1.0-rc3-windows-i586/lib" to the VM options
That should be it. My module adds the ability to build distributions of your app and comes with a out of the box running example app.
(PS here, i found in many sites (outdated maybe) that i had to install the files in lib/ext and bin. Why is it that this is bad?)
It breaks Java Webstart deployment of JOGL apps, since the locally installed version has precedence over the one in the Webstart descriptor, so if the webstarted App needs a different version, it doesn't run and you will have no clue, why...