JDK-6721549 : deployment.properties doesn't get refreshed correctly under some downgrade install scenario
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-07-02
  • Updated: 2010-09-08
  • Resolved: 2008-09-04
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.
JDK 6
6u10 b31Fixed
Related Reports
Relates :  
Description
On some systems the applet loads with previous version of JRE after
following below steps. 

Steps:
------

  - Static install 6u11
  - Family Install 6u10
  - Launch an Applet
http://sqindia.india.sun.com/disk17/deployment/rakesh/pip/ssv/Clock.html

A security dialog "Java Security Warning" is shown, mentioning that
Applet wants to be executed on 6u10 (screenshot attached). Click "Run"
applet is launched with 6u10.

Applet tag doesn't explicitly request 6u10, hence the expected behavior is that
that applet must always be launched with 6u11.

Comments
EVALUATION The problem is due to there exists multiple entries of the same JRE version in the deployment.properties file and the first entry is incorrect. A fix is by removing the duplicate and incorrect entry in the _jres array.
21-08-2008

SUGGESTED FIX http://web-east.east.sun.com/deployment/www/webrevs/ccheung/1.6.0/6721549/webrev/
04-08-2008

EVALUATION The problem isn't reproducible on another XP machine with the following 6u10 b27 bundles: 6u10: http://j2se.east/arc/1.6.0_10/pit/2008-07-01.09_30 6u11: http://j2se.east/arc/1.6.0_10/pit/2008-07-01.14_39 I've tried with no deployment.properties file, with pre-existing deployment.properties file and with the org_deployment.properties file attached to this report. In each of the case, an applet with the applet tag was run with 6u11 JRE and the deployment.properties file got updated correctly with deployment.javaws.jre.0.path=F\:\\Program Files\\Java\\jre1.6.0_11\\bin\\javaw.exe
08-07-2008

WORK AROUND remove/rename the deployment.properties file and then run the java control panel to re-generate a new deployment.properties file.
02-07-2008