JDK-6611182 : (launcher) windows launcher mismatch with registry keys
  • Type: Bug
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-09-28
  • Updated: 2011-07-15
  • Resolved: 2011-07-15
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.
7 b22Fixed
The launcher has mismatch with Registry key needs to be fixed.
[C:/] java -version
Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'

has value '1.7', but '1.7.0-ea-b21' is required.
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.

WORK AROUND use this command to workaround for now: [C:/] java -version:1.7+ -version java version "1.7.0-ea" Java(TM) SE Runtime Environment (build 1.7.0-ea-b21) Java HotSpot(TM) Client VM (build 11.0-b07, mixed mode, sharing)

EVALUATION Fix the compare string/version info.