Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6710940
Votes 0
Synopsis Uninstalling JDK, does not clean the JDK installation location/folders
Category java:install
Reported Against
Release Fixed 6u10(b27)
State 11-Closed, Verified, bug
Priority: 2-High
Related Bugs 6712425 , 6712453
Submit Date 05-JUN-2008
Description
Uninstalling JDK, does not delete and clean the JDK install folder. 

Steps :
1) Install JDK6u10-b26 (PIT) build. It gets installed properly.
2) Check for the installed folder, don;t copy anything in any of the folders.
3) Uninstall back the JDK.

If the jdk1.6.0_10 folder is not getting deleted, this bug is reproduced.

For the detailed left over jdk folder structure, see the attachment file.
 - jdk1.6.0_10
     - demo      
     - jre
     - lib 
     - sample
Posted Date : 2008-06-06 05:11:45.0

Subrata meant install JDK.

so this is basically installing and uninstalling JDK.
I just verified it on windows XP.

This is a regression from 6u10 build 25 promoted.
Posted Date : 2008-06-05 16:47:01.0
Work Around
N/A
Evaluation
The description is not clear.  It says to install the JRE, and then "Uninstall back the JDK", which does not make sense to me.
Posted Date : 2008-06-05 12:17:27.0

This was introduced in b26 with:

6560351 Wanna build on Cygwin, too

The line in ishield/sdk/Makefile:

<         dirbase=`$(ECHO) $$dir | $(TR) -d "/" | $(TR) -d "." | $(TR) -d "-"` ; \
---
>         dirbase=`$(ECHO) $$dir | $(TR) -d "/.-"` ; \


For some reason, "x"'s get pruned out now.  So when:

"jre/lib/ext"

get's passed through:

$(TR) -d "/.-"

it comes out as "jrelibet", whereas it used to (and should) come out as "jrelibext".

Long story short, the uninstaller isn't removing any files that are in directories with "x"'s in it...and this is a 6u10 showstopper.
Posted Date : 2008-06-05 21:51:24.0

The fix is to revert back the changes to the create_directory target in the ishield/sdk/Makefile
Posted Date : 2008-06-06 13:57:22.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang