JOGL and Webstart

I am trying to deploy my JOGL application using Java Web Start. Previously I was using signed applets (installing jogl dlls on the client) and was having no problems. Using webstart I get errors that cg.dll and cgGL.dll cannot be found. I ran a dll scanner and noticed that these two dlls are dependencies in jogl_cg.dll. Do these dlls need to be included then when I distribute my JOGL app? I noticed other JOGL webstart apps online that work just fine and they are not distributing these two dependent dlls (and I did not have them installed in my C:\windows\system32 dir).

These DLLs are part of NVidia’s Cg runtime and are not distributed along with JOGL. We added code in a recent JOGL release which should allow you to bundle up these DLLs in your own native code jar file (similar to e.g. jogl-natives-.jar in the jogl.jnlp on jogl.dev.java.net) and reference them from your JNLP file. I’m not sure whether you’ll need to re-sign all of the jars if you do this, though. You can also just require that the end user install the Cg runtime from NVidia’s web site.