My Oracle Support Banner

After upgrate to Java 8U25 from 7U67 gives "Error: Registry key has value '1.8', but '1.7' is required." (Doc ID 2288078.1)

Last updated on NOVEMBER 06, 2018

Applies to:

Java SE JDK and JRE - Version 7 and later
Information in this document applies to any platform.


When attempting to execute the command: java -XshowSettings:properties -version, after upgrade to Java SE 8 from 7U67, the following error occurs.

Error: Registry key 'Software\JavaSoft\Java RunTime Environment'\CurrentVersion'

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


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.