JDK-6756763 : Unexpected installing additional components dialog pops up as kernel JRE is uninstalled
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u10,6u12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2008-10-07
  • Updated: 2010-09-16
  • Resolved: 2009-10-28
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 JDK 7
6u18 b04Fixed 7Fixed
Related Reports
Duplicate :  
Relates :  
Description
In a general software removal practice, it is unexpected that additional components of that software are needed/installed during its un-installation step.   6u10 kernel jre removal displays this unexpected behaviour.  Intuitively, it really confuses users. 

Tested OS:         x86-Windows Vista-Business(sp1)     
                   x86- Windows XP-pro(sp3)   

      Kernel jre:  jre-6u10-rc2-windows-i586-p-iftw-k.exe (from java.sun.com)         


Steps to reproduce:
------------------
1) Uninstall all JDK/JRE on the test system
2) Install the kernel jre [jre-6u10-rc2-windows-i586-p-iftw-k.exe (from java.sun.com)]
3) As the kernel jre successfully installed, click 'Close' button in the 'Java Setup- Complete' windows.
4) Reboot the machine
5) At this point, Kernel jre is running on the system (not client jre)
6) Uninstall the 6u10 jre (which is the kernel jre) from the Windows control panel

If you see the "Installing Additional Components" dialog pops up during the uninstalling step, then the problem is reproducible (see the attached screenshot for the problem demonstration.   

It looks very strange, especially in the case users have a slow network connection, they will see this "Installing Additional Components" dialog and its progress bar much longer and wonder what is happening.

Comments
EVALUATION We now replaced the condition "is javaws jar there" which it always was, to "is kernel completed" determined by checking the existance of the bundles directory in the jre/lib directory.
09-10-2009

EVALUATION We set this up when javaws.jar was not part of the kernel. The uninstallation of java calls java with the equivilant of : javaws -shortcut -uninstall -silent -J-Dkernel.background.download=false only if javaws.jar is there. Before javaws.jar was in the kernel, it's absence indicated a incomplete kernel install that has not ever run a javaws app. Now that it is in the kernel we need another way to determine this.
29-09-2009

EVALUATION This is unrelated to the above, and is caused by webstart...re-assigning.
29-09-2009

EVALUATION See also 6718336, which could potentially address this issue. The "additional components required"dialog is being invoked by the kernel. Shutting down the kernel downloader gracefully during uninstall (the fix for 6718336) may supress any such dialogs from being invoked.
07-10-2008