This is going to be an odd question.
A JOGL project knows about the root directory the executable jar file is in. So because of this, any platform specific binary I put in there, it is found and loaded. No problems.
I started a standard java project in netbeans 6.7 to make a simple 2D game that just uses Image and BufferedImage for old fashioned double buffer blitting. I added the java jar and binaries for lwjgl and OpenAL32 to add OpenAl sound. Works fine when running in the NetBeans development environment but the distribution won’t load the binaries. It will work from the command line if I pass the root directory via -Djava.library.path=.
So the question is, why don’t I have to jump through these hoops when it’s a JOGL project? What magic has been done here?