JDK-4773110 : Apps are run with the wrong JRE
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: jaws-1.0,1.2.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_nt,windows_xp
  • CPU: x86
  • Submitted: 2002-11-04
  • Updated: 2002-11-19
  • Resolved: 2002-11-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2 mantisFixed
Related Reports
Duplicate :  
Duplicate :  
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
31-08-2004

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
21-11-2002

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