JDK-7058601 : Registry key shows incorrect location of jvm.dll on Win 7 64 bit installation
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u26,7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_7
  • CPU: x86
  • Submitted: 2011-06-23
  • Updated: 2014-07-29
  • Resolved: 2014-03-28
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 8
8u20 b09Fixed
Related Reports
Duplicate :  
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]

A DESCRIPTION OF THE PROBLEM :
Installed latest JDK onto system with no prior JVMs.

After installation, looked at registry key:
HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment\1.6.0_26\RuntimeLib

The value is:
C:\Program Files\Java\jre6\bin\client\jvm.dll

Where as it should be:
C:\Program Files\Java\jre6\bin\server\jvm.dll

The file C:\Program Files\Java\jre6\bin\client\jvm.dll does not exsit on a 64 bit installation.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Install JDK 1.6.0_26 on a Windows 7 64 bit machine.

Check Registry key HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment\1.6.0_26\RuntimeLib

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Expected to have key value:
C:\Program Files\Java\jre6\bin\server\jvm.dll
ACTUAL -
Acutal value was:
C:\Program Files\Java\jre6\bin\client\jvm.dll

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Manually change the registry key.

Comments
Please refer to Bill's evaluation for duplicate CR: JDK-8037413.
18-03-2014

this issues can also be re-produced on jdk9 b04.
18-03-2014

I have installed jdk-8u20-ea-bin-b04-windows-x64-04_mar_2014.exe (http://oklahoma.us.oracle.com/java/re/jdk/8u20/promoted/ea/b04/bundles/windows-amd64/jdk-8u20-ea-bin-b04-windows-x64-04_mar_2014.exe), and checked the registry key HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_20\RuntimeLib the value is C:\Program Files\Java\jre8\bin\client\jvm.dll it need be fixed. I will continue to fix it.
12-03-2014

Please check to see if this is reproducible in 8. If so, we should fix it in 8u20/9 and consider a backport to 7u.
11-03-2014