JDK-6601665 : On Vista, DT plugin is unregistered when uninstaling 6u10 (if it is last jre on system)
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u5
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2007-09-06
  • Updated: 2010-09-08
  • Resolved: 2007-12-24
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 b09Fixed
Related Reports
Relates :  
Relates :  
Description
On Vista, isPluginInstalled returns false though deploytk.dll is installed with kernel jre bundle 

Tested OS : Vista
Tested bundle : http://j2se.east/plugin/1.6.0_05-nightly/2007-08-30.23_28

Steps to reproduce :
1. Install kernel jre bundle
2. Uninstall the jre
3. check whether the deploytk.dll is copied under windows/system32 folder
4. Now launch http://web-east.east/www/tests/getjava/6529645/f1.html on IE
Getting the message "Detected that plugin was not installed"

Expected behavior : It should display "Detected that plugin was installed"
This happens only on vista with kernel bundle. With classic bundle, it is working fine.
On XP, both bundles are working fine.
This is completely reproducable on any vista machine if no other jres are installed on the machine. (dosn't happen if there are older jres)
1.) uninstall all JREs from a vista machine.
2.) install 6u10 kernel bundle, the registry key HKCR/CLSID/{CAFEEFAC-DEC7-0000-0000-ABCDEFFEDCBA} is there, and isPluginInstalled() returns true.
3.) uninstall 6u10 kernel bundle, the registry key HKCR/CLSID/{CAFEEFAC-DEC7-0000-0000-ABCDEFFEDCBA} is not there, and isPluginInstalled returns false.

Comments
SUGGESTED FIX http://web-east.east/www/webrevs/ah22606/1.6.0_10/6601665/deploy/
02-12-2007

EVALUATION Original problem is in Reginstall.RemoveAllStaticVersionRedirectKeys - It removes all keys starting with the CAFEEFAC preface. need to exclude DT_CLSID there
29-11-2007

EVALUATION Above problem was specific to one machine, and will be treated seperately, but original problem (with updated instructions in description) exists on all vista machines.
21-11-2007

EVALUATION This bug is caused by a bigger problem, installation failing to register anything in the windows registry. It has been shown on urti070.india, but cannot be reproduced on other windows vista machines. It is unclear what is different on this machine than others. after installation of java kernel, no registry entrys are present (see comments)
12-10-2007