JDK-5084556 : Regression: Java icon isn't updated to 1.5.0_01 on Win98 only
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 5.0
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_98
  • CPU: generic
  • Submitted: 2004-08-09
  • Updated: 2014-02-27
  • Resolved: 2004-10-12
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
5.0u1 b04Fixed
Description
Java icon isn't updated to 1.5.0_01 and got removed after system is rebooted.
Effects Win98 only.
This test is passed with b58, but failed with b60.
It's a regression.

Steps to Reproduce :
--------------------
1. Install jre-1_5_0-beta3-windows-i586.exe from 
/java/re/jdk/1.5.0/promoted/beta3/b60/bundles/windows-i586
2. Redirect java.sun.com to our internal apache server (10.5.21.239)
3. Add the entry in registry SOFTWARE/Javasoft/javaupdate/Policy 
"UpdateServletURL http://java.sun.com/webapps/update/1.5.0/map.xml"
4. Disable proxy settings in IE
5. On test machine, Java Control Panel -> "Update" tab ->click on "Update Now" button.
6. Download and Install 1.5.0_01 version on the test machine
7. Click on "Java" icon in the Control Panel and then click on "About" button

Expected result:
----------------
(build 1.5.0_01-beta3-b60) should be displayed 

Actual result:
---------------
(build 1.5.0-beta3-b60) 

The version is not updated to 1.5.1_01 in the Java icon.

Also, the Java icon got removed from Control Panel after rebooting the system

There is another way to reproduce the problem:
----------------------------------------------
1. Install jre-1_5_0-beta3-windows-i586.exe from 
/java/re/jdk/1.5.0/promoted/beta3/b60/bundles/windows-i586
2. Apply the patch jre-1_5_0_01-beta3-bin-b60-windows-i586-p-02_aug_2004.exe from  /net/mizu.sfbay/usr/re/jdk2/test/jdk1.5.0/bundles/windows-i586/b60-2004-08-02
3. Click on "Java" icon in the Control Panel and then click on "About" button

###@###.### 2004-08-09 

Comments
SUGGESTED FIX http://j2se.east.sun.com/www/webrevs/billyh/5084556/ ###@###.### 10/6/04 15:37 GMT
06-10-2004

EVALUATION I cannot reproduce this given the 2nd scenario. Need more info. ###@###.### 2004-08-10 This is not reproducible. ###@###.### 2004-08-1 It is only reproducible when you install a 1.5 release when the java control panel of a previous release is open. This only happens on win9X platforms. There are a few problems with this bug. One problem is that we were using a SetREBOOT customaction to set the REBOOT=force when we detected that the system needs a reboot. The proper way to do this is with ScheduleReboot standard action. The second problem was that we were using (REBOOT <> Suppress) as a condition for the ScheduleReboot customaction. This is unnecessary, as when the user gives REBOOT=Suppress as an installer argument, it will override the ScheduleReboot Standard action. The third problem was that MSIUninstallJRE was incorrectly setting the JAVAREBOOT msi property. We use this variable to detect if we should call ScheduleReboot and prompt the user for a reboot. Once we have the ScheduleReboot action working correctly, it was always asking for a reboot during uninstall. We should take this setting of JAVAREBOOT out of MSIUninstallJRE, and let MSINeedReboot handle the detection to see whether or not we need a reboot. ###@###.### 2004-08-17 Adding ScheduleReboot after InstallFinalize will create a msi validation error. In order to make this work properly, we'd need to move all of our custom actions before InstallFinalize, as well as ScheduleReboot. However, we would also have to change our CustomActions to "Defered" instead of "Immediate". This would have some affects with the progress bar and more investigation is needed. I would not recommend this fix for 1.5.0_01. ###@###.### 2004-09-15 testcase: http://j2se.east.sun.com/www/tests/1.6.0/5084556 ###@###.### 10/6/04 15:37 GMT
15-09-2004

WORK AROUND -Launch the javacpl.exe file from the jre1.5.0/bin directory. Or -Launch the controlpanel by right clicking on the java system tray icon when an applet is loaded Or -Copy the jre1.5.0/bin/jpicpl32.cpl file to the windows system directory. Then you can launch it from the windows system directory. ###@###.### 2004-08-17
17-08-2004