Auto-download of new JRE not working properly
Howdy,
I have an application that I compiled with jdk1.6.0. When I run it, using JWS, on a computer with jre1.6.0+, it will work fine. However, when I try to run it and launch it using at outdated javaws.exe program in $JAVA_HOME/bin, I get the fun "Unexpected Error" message.
I though the JNLP file should recognize whether or not the current JRE is outdated, and automatically download it accordingly, but this does not seem to be the case when the user already has another version of the JRE on his/her machine.
Is there a way to change this, aside from having all users download the most recent JRE?
My JNLP file, if it helps, looks like this:
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP Filefor NVAC -->
<jnlp spec="1.0+"
codebase="http://localhost:port/kdb/"
href="NVAC.jnlp">
<information>
<title>NVAC Polling Controller</title>
<vendor>myVendor</vendor>
<description>NVAC GUI</description>
<homepage href="http://localhost:port/kdb/NVAC.jsp"/>
</information>
<security>
<all-permissions />
</security>
<resources>
<jar href="NVACdist/NVACPC.jar" main="true">
</jar>
<jar href="NVACdist/lib/Ice.jar" />
<j2se version="1.6.0+"
href="http://java.sun.com/products/autodl/j2se"/>
</resources>
<application-desc main-class="nvacICE.NVACMain"/>
</jnlp>
Thanks a lot,
Dan

