Monday 22 January 2018

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

Problem :

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.



Solution :

open command prompt window

run this below command

Preview:

set PATH=c:\Program Files\Java\jdk1.6.0_45\bin;%PATH%

change path according to your jdk location



No comments:

Post a Comment

Spring boot with CORS

CORS (Cross-Origin Resource Sharing) errors occur when a web application running in a browser requests a resource from a different domain or...