JDK-6684529 : 32-bit and 64-bit installers can overwrite each others temporary files
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_2003
  • CPU: x86
  • Submitted: 2008-04-04
  • Updated: 2010-09-17
  • Resolved: 2008-06-16
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.
6u10 b25Fixed 7Fixed
6u10 64-bit JRE and the 32-bit JRE installers both write files with the same name to %APPDATA%\Sun\Java\jre1.6.0_10

If both installs are launched near the same time, one may overwrite the other one's files.

Directory of C:\Documents and Settings\Administrator\Application Data\Sun\Java\

04/04/2008  12:31 PM        11,798,960 Data1.cab
04/04/2008  12:31 PM           506,880 jre1.6.0_10.msi

EVALUATION Both the wrapper and online wrapper need to make this change. Also, the Regutils CustomAction that removes the cached msi during uninstall needs to know the new name of the dir.

EVALUATION The fix should be to append "-x64" to the extraction directory for 64bit. The 32-bit directory name can remain the same.

SUGGESTED FIX x64 install to use %APPDATA%\Sun\Java\jre1.6.0_10_x64