JDK-6604409 : The jdk-6u3-windows-i586-p.exe bundle installs extra empty db directory at {JAVA_HOME}/db/
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u2,6u3
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2007-09-13
  • Updated: 2010-09-17
  • Resolved: 2008-02-04
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
6u10 b02Fixed 7Fixed
Description
The jdk-6u3-windows-i586-p.exe bundle installs two copies of Java DB:

  1. Proper Java DB is installed at C:/Program Files/Sun/JavaDB, this is right behaviour
  2. An extra temp db directory is also installed at C:/Program Files/Java/jdk1.6.0_03/db/.., this is not expected.

Comments
EVALUATION This was introduced in 6u2. Patches remove files but not the empty directories. This is a limitation of the patching technology used. See CR 6530097 and comments on the 6u2 MR 6u2 windows JDK installs empty directory C:\Program Files\Java\jdk1.6.0_02\db\ and subdirectories. The base image for JDK 6 contains the old db directories in tools.zip. When the u2 patch is applied it removes the files but not the empty directories. Patches remove files but not the empty directories.
15-09-2007

SUGGESTED FIX With the Project Hamburg changes, 6u5 JDK no longer installs the base 6.0 JDK and patches to the update release. {JAVA_HOME}\db\ is no longer installed; there are no empty db subdirectories left. *** (#1 of 1): [ UNSAVED ] ###@###.###
15-09-2007