Bug in JRE 1.3.0_03 need JRE 1.3.1 but JWS won't load it.
We have found a problem in JDK 1.3.0 that causes our application to have a run time error in the JVM. If we recompile with JDK 1.3.1 the problem goes away. So, we need to be able to load our application with JRE 1.3.1, but JWS comes bundled with JRE1.3.0_03.
I've installed the JRE 1.3.1 and changed the version in the JNLP file to 1.3.1 but JWS still uses 1.3.0_03.
I have a work around which is to copy the contents of the 1.3.1 JRE folder into the 1.3.0_03 JRE folder. This fools JWS into thinking it's running with 1.3.0_03 when it's really using 1.3.1. The problem is that I can't very well have my users do this. That kind of stuff makes them very angry.
Is there a way around this or do I just have to wait until JWS comes bundled with the correct JRE?
[805 byte] By [
rpray] at [2007-9-26 1:14:00]

> We have found a problem in JDK 1.3.0 that causes our
> application to have a run time error in the JVM. If
> we recompile with JDK 1.3.1 the problem goes away.
> So, we need to be able to load our application with
> JRE 1.3.1, but JWS comes bundled with JRE1.3.0_03.
>
> I've installed the JRE 1.3.1 and changed the version
> in the JNLP file to 1.3.1 but JWS still uses 1.3.0_03.
This would be a bug. Did the autoload feature work for you?
(For me it didn't so far)
http://forum.java.sun.com/thread.jsp?forum=38&thread=71021
How did you detect the JRE version? Only by the crash, or did you have a look at the console window (it can be activated by starting Web Start alone, and clicking the console check box in the files->preferences->advanced dialog).
> I have a work around which is to copy the contents of
> the 1.3.1 JRE folder into the 1.3.0_03 JRE folder.
Don't do this.
> Is there a way around this or do I just have to wait
> until JWS comes bundled with the correct JRE?
Like luongdang wrote, one place to change the JRE for Web Start is the File->Preferences->Java dialog, that you can access from calling Web Start itself (ie the JWS Application Manager).
There is the possibility to add (and even scan for) a new JRE.
After you added the 1.3.1 line, just remove all other lines to be sure that only the correct is left. Exit Web Start and relaunch it, look at the line in the console window if the correct JRE has been picked.
Regards,
Marc