Deploy JOGL with Applet

Can someone explain to me how to deploy JOGL along with an Applet.

My key area of interest is how to include the JOGL jars, and DLL’s as part of the Applet download for different platforms (Windows, Mac, Linux).

JOGL appears to be hardcoded to search for the DLL’s (Windows platform) in the java.library.path.

How do you install JOGL via an Applet, and if you do install it what happens if the user has a different version of JOGL already installed.

Why (or how) can I force JOGL to use only the JAR’s and DLL’s deployed with the Applet.

Also, I have noticed that if a user does not have JOGL already installed correctly on their machine, then they are not able to run the JOGL demo’s via WebStart. Why?? Isn’t this a failure on the part of the JOGL team to support WebStart as a deployment method, or am I missing something important?

Jogl should work ‘fine’* with webstart if correctly packaged. See S-Type (via link in sig) for a working example.

*‘fine’ in this case being “as good as running locally”, which wasn’t nearly as reliable as it should be. :-X

Do you have test cases that illustrate problems you’re running into? If so, please file bugs with the JOGL Issue Tracker. We frequently have problems reproducing problems seen in the wild in-house so any help you can provide in tracking down issues would be appreciated.

Thanks, my thoughts was it was going to work with WebStart.

As for that working example, I’m not sure what you are referring to? Do you have an HTML link or example WebStart XML file?

Mustang,

The Webstart method works fine for me.

On a machine with nothing but a clean install of JRE 1.5, all of the downloading of JOGL for my test JNLP file works fine.

I have seen problems with Webstart, I think related to having multiple JREs/JDKs installed, where the Webstart download happens, and then nothing seems to start. I think there’s a bug lurking there to be raised with Javasoft, but I could never get a reliable reproduce.

If you are still after a JNLP file, you can pull one of the ones from my Webstart test here:

http://abraded.co.uk/jogl/

(Do right-button->Save-Link-As on one of the links)

Rob

http://www.orangytang.net/VScript/playStype.php

You guys rock!

Thanks for all the help.