I’ve seen a few old posts on this from a couple of years ago, but I was wondering if the situation has changed…
I’ve written an applet that uses JOGL and Cg. The applet deploys via JNLPAppletLauncher and runs properly on my laptop since it is able to find the pre-installed Cg dll’s on the hard drive, but if I try to run the applet on another machine without Cg pre-installed, then the applet is unable to load Cg. JOGL deploys properly on both machines (the applet defaults to not using Cg if it’s not available).
The applet launcher obviously makes some kind of attempt to launch Cg here (edited log):
validateCertificates:
VALIDATE: jogl.dll
VALIDATE: jogl_awt.dll
VALIDATE: jogl_cg.dll
extractNativeLibs:
EXTRACT: jogl.dll(jogl)
EXTRACT: jogl_awt.dll(jogl_awt)
EXTRACT: jogl_cg.dll(jogl_cg)
validateCertificates:
VALIDATE: gluegen-rt.dll
extractNativeLibs:
EXTRACT: gluegen-rt.dll(gluegen-rt)
JNLPAppletLauncher.loadLibrary("jogl")
loading: C:\DOCUME~1\Admin\LOCALS~1\Temp\jnlp-applet\jln6444612101995085350\jln5741450139073562519\jogl.dll
JNLPAppletLauncher.loadLibrary("jogl_awt")
loading: C:\DOCUME~1\Admin\LOCALS~1\Temp\jnlp-applet\jln6444612101995085350\jln5741450139073562519\jogl_awt.dll
JNLPAppletLauncher.loadLibrary("cg")
JNLPAppletLauncher.loadLibrary("cgGL")
JNLPAppletLauncher.loadLibrary("jogl_cg")
loading: C:\DOCUME~1\Admin\LOCALS~1\Temp\jnlp-applet\jln6444612101995085350\jln5741450139073562519\jogl_cg.dll
java.lang.UnsatisfiedLinkError: C:\Documents and Settings\Admin\Local Settings\Temp\jnlp-applet\jln6444612101995085350\jln5741450139073562519\jogl_cg.dll: Can't find dependent libraries
The dependent libraries it’s missing are cg.dll and cggl.dll which, from further up in the log, look like they didn’t load.
Is there a .jnlp file which can load all of the Cg dll’s ?
The applet is here