WebStart 1.6 issues with intranet JRE installers
My team develops a large intranet app that uses Webstart for deployment. Our latest release works great with 1.5.0_11, but one of our customers is trying to use Java 1.6's Web Start so we've started looking at the issues.
In my jnlp files I specify that I want to use a JVM that they can download locally:
<resources>
<j2se version="1.5.0_11" href="/j2se.jnlp" max-heap-size="100M"/>
<j2se version="1.5.0_11" href="http://java.sun.com/products/autodl/j2se"
When I try to launch this JNLP with 1.6 (on Vista) it gets an exception:
The application has requested a version of the JRE (version 1.5.0_11) that is currently not locally installed. Java Web Start is unable to automatically download and install the requested version. This JRE must be installed manually.
The exception details:
JNLPException[category: System Configuration : Exception: null : LaunchDesc:
><jnlp spec="0.2 1.0" codebase="http://10.44.255.216:8081/">
<information>
<title>CompanyName Permission Utility - </title>
<vendor>CompanyName</vendor>
<homepage href="http://www.CompanyName.com/"/>
<description>Setup your client to run CompanyName Java Web Start based applications. This only needs to be run once for each system you wish to connect to, so you can remove the application from your computer after it has been run.</description>
<icon href="http://10.44.255.216:8081/resource/webStartIcon.gif" kind="default"/>
<icon href="http://10.44.255.216:8081/resource/web/webStartSplash.jpg" kind="splash"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<update check="timeout" policy="always"/>
<resources>
<java max-heap-size="104857600" href="http://10.44.255.216:8081/j2se.jnlp" version="1.5.0_12"/>
<java max-heap-size="104857600" href="http://java.sun.com/products/autodl/j2se" version="1.5.0_12"/>
<jar href="http://10.44.255.216:8081/resource/WebStartTools.jar" download="eager" main="false"/>
</resources>
<application-desc main-class="webStart.SecurityAdjuster">
<argument>app1.jnlp</argument>
</application-desc>
</jnlp> ]
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I have not had this problem before. Any ideas? Thanks!

