top of page

Java

Public·4 members

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

This is error due to multiple java version installed at different location.

so in my case this is output .

so i removed the all files from 'C:\ProgramData\Oracle\Java\javapath

also deleted java folder from this location c:\java\jdk1.8.0_131\bin

and worked.

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


How to make it work:


Step 1: Open terminal and type where 'java'

It return 'C:\ProgramData\Oracle\Java\javapath' folder which contain:

java.exe

javaw.exe

javaws.exe

Browse to this folder with Windows file explorer and remove everything (three files above).


Step 2: now check


C:\Users\Admin>java -version

Should now return:

java version "1.8.0_131"

Java(TM) SE Runtime Environment (build 1.8.0_131-b11)

Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)


or something similar depending on which java release package you've downloaded...

It works!


There are other links can help

1.

https://stackoverflow.com/questions/8644992/error-registry-key-software-javasoft-java-runtime-environment-currentversion


2.

https://stackoverflow.com/questions/6362037/java-error-opening-registry-key


I hope your issue will be resolved .

10638 Views
ashakantasharma
Oct 30, 2021

This error also comes when the software you are using is of 32 bit and you have 64 bit of JAVA installed which is not compitible with the existing softwares where you want to work. You may also unintall 64 bit and install the 32 bit version which will resolve the issue.

bottom of page