United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6779997 cruft left over when uninstalling JDK in some cases
6779997 : cruft left over when uninstalling JDK in some cases

Details
Type:
Bug
Submit Date:
2008-12-03
Status:
Closed
Updated Date:
2013-03-04
Project Name:
JDK
Resolved Date:
2009-02-18
Component:
install
OS:
windows_vista
Sub-Component:
install
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u12
Fixed Versions:
6u14

Related Reports
Backport:

Sub Tasks

Description
Found when doing 1.6.0_12-b02 PIT testing.

to reproduce:

I installed the 6u12 32 bit JDK on a 64 bit OS system silently.

Then I installed the 6u12 32 bit JRE on the same 64 bit system.

when I uninstalled the JDK (leaving the JRE intact) the uninstall did not
fully remove the JDK files.  I was left with:

C:/progra~2/Java/jdk1.6.0_12/jre.msi
C:/progra~2/Java/jdk1.6.0_12/jre1041.MST
C:/progra~2/Java/jdk1.6.0_12/jre2052.MST

My steps:

jdk160.exe /s /qn
jre160.exe /s /qn
msiexec /x "{32A3A4F4-B792-11D6-A78A-00B0D0160120}" /qb

this was via automation but I was able to reproduce by hand using the same
steps.

                                    

Comments
SUGGESTED FIX

The fix is to not download the unnecessary jre msi and mst files for silent jdk installation.
webrev: http://sa.sfbay.sun.com/projects/deployment_data/6u14/6779997.0
                                     
2009-01-29
EVALUATION

The issue is only seen in the silent installation jdk, then silent install jre separately.

The silent jdk does not install public jre and it should not install the jre msi and mst files.

The fix is to not download the unnecessary jre msi and mst files for silent jdk installation.
                                     
2009-01-29



Hardware and Software, Engineered to Work Together