I've upgraded my project to use the latest JOGL2 build, but now I can't use the Netbeans OpenGL pack, so I once again get to struggle with trying to figure out JNLP files. The game runs fine when I run it normally, but if I try and run it through Web Start, or through the browser, I get this error:
Exception in thread "Thread-12" java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.jogamp.gluegen.runtime.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:102)
at com.jogamp.gluegen.runtime.NativeLibLoader.access$000(NativeLibLoader.java:51)
at com.jogamp.gluegen.runtime.NativeLibLoader$1.run(NativeLibLoader.java:70)
at java.security.AccessController.doPrivileged(Native Method)
at com.jogamp.gluegen.runtime.NativeLibLoader.loadGlueGenRT(NativeLibLoader.java:68)
at com.jogamp.common.jvm.JVMUtil.<clinit>(JVMUtil.java:56)
at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:1141)
at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:221)
at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:178)
at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:169)
at pixelgame.core.CCore.<init>(CCore.java:177)
at pixelgame.core.CCore.Instance(CCore.java:78)
at pixelgame.core.CGLStarterThread.run(CGLStarterThread.java:56)
How should I go about setting up the JNLP and HTML to launch my new JOGL2 app? I've tried a number of changes to the original JNLP with no success, and I've tried using the JNLP Applet launcher(described at the bottom of this page
http://www.ntu.edu.sg/home/ehchua/programming/opengl/JOGL2.0.html), but of course, I got the old "Class not found" error that absolutely everyone seems to get with no solution.