United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4773110 Apps are run with the wrong JRE
4773110 : Apps are run with the wrong JRE

Details
Type:
Bug
Submit Date:
2002-11-04
Status:
Resolved
Updated Date:
2002-11-19
Project Name:
JDK
Resolved Date:
2002-11-19
Component:
deploy
OS:
windows_nt,windows_xp
Sub-Component:
webstart
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
jaws-1.0,1.2.0
Fixed Versions:
1.4.2

Related Reports
Duplicate:
Duplicate:

Sub Tasks

Description
When the applications JRE specification (such as version="1.3+) matches
more than one configured JRE, the spec says the latest JRE will be used.
Currently the native launching code uses the first one that matches.

                                    

Comments
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mantis

FIXED IN:
mantis

INTEGRATED IN:
mantis
mantis-b08


                                     
2004-08-31
WORK AROUND

For apps running before this fix, if both 1.2.2 and 1.3 are present when 1.4 is
asked for, 1.2.2 may be run, which can't download 1.4.
to work around this:
    Have 2 jnlp files.  the first one (MyApp1.jnlp) has the following: 

    <jnlp spec="1.0"  codebase="..." href="MyApp2.jnlp">
    <j2se version="1.4.1+ 1.3+"/>

    In the second jnlp file (MyApp2.jnlp) have the following:

    <jnlp spec="1.0"  codebase="..." href="MyApp2.jnlp">
    <j2se version="1.4.1+"/>
    
    Have the link on the net point to the first jnlp file.  The browser
will download it, and the native code will launch java 1.3.X , since 
that matches the specified version="1.4.1+ 1.3+".  The java code will 
then download the right jnlp file and request 1.4.1 from java.sun.com.
but now it should work since it will be running 1.3.x.


###@###.### 2002-11-21
                                     
2002-11-21
EVALUATION

fix this in matchVersionString in configurationFile.h for mantis
###@###.### 2002-11-04
                                     
2002-11-04



Hardware and Software, Engineered to Work Together