JOGL not working with Webstart

I have an application I’ve written that I’m publishing via webstart. It requires Java 6 and the JOGL Jsr-231 to run (won’t work for Java 5 for some reason). I can run it fine on my machine through webstart, but none of my users can run it. (That is, I’ve uploaded it to a remote webserver and it will run on my machine when I click the webstart link on my webpage).

You can run a version of it here:

http://www.kitfox.com/jogl/test/

This is the JNLP I’m using:

<?xml version="1.0" encoding="utf-8"?>
<information>
    <title>Test</title>
    <vendor>Mark McKay, kitfox.com</vendor>
    <homepage href="index.html"/>
    <offline-allowed/>
</information>


<security>
    <all-permissions/>
</security>


<resources>
    <j2se version="1.6+"/>
    <jar href="bin/test.jar" main="true"/>
    <extension name="jogl" href="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp"/>
</resources>

<application-desc main-class="com.pantometrics.scene.MainFrame"/>

Any ideas?

Well according to the error, which unfortunately is in spanish:

Java Web Start Error:

La aplicación ha solicitado una versión de la plataforma JRE (versión 1.6+) que no está instalada en el sistema local actualmente. Java Web Start no puede descargar e instalar automáticamente la versión solicitada. La versión de JRE debe instalarse manualmente.

The Java 6 JRE can’t be installed automatically and should be installed manually.

Which doesn’t surprise me because Java 6 isn’t officially released yet so Sun probably hasn’t made a WebStart download for it yet.

So I guess you will either have to tell your clients that they have to install Java 6 manually or find out why it doesn’t work under Java 5.

Good luck!

I have already directed my clients to install Java 6, and they tell me they’ve done so. The problem is with JOGL not kicking in.

If anyone out there is running Java 6 and would like to try my webstart app, would you please let me know if it works for you?

I’m running JDK 6 build 97 installed manually into Mozilla and your web start test case works fine for me (a window pops up with a gray teapot in it). Could you get a more descriptive error message out of your clients?

Client says that after the initial webstart dialogs, they see nothing at all. It’s as if the program immediately exits.

Do you have the JOGL binaries added to your PATH? I was wondering if that might explain why this demo was working on my machine but not theirs.

I do, but I just cleaned out those binaries and your web start app still works. Ask the client to enable logging (Java control panel -> Advanced tab -> Debugging, and click “Enable logging”). The log goes into c:/Documents and Settings/(username)/Application Data/Sun/Java/Deployment/log/ . Get them to email you the log and see what is going wrong.