Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (9.5k points)

Below is the error I get in Java command prompt after reinstalling JRE: 

Error opening registry key 'Software\JavaSoft\Java Runtime Environment.3'

Error: could not find Java.dll

Error: could not find Java 2 Runtime Environment

Can anyone tell me how to resolve this?

1 Answer

0 votes
by (19.7k points)

Remove any java.exe, javaw.exe and javaws.exe from your Windows\System32 folder and do the same for Windows\SysWOW64.

You can also delete from the below path: 

C:\ProgramData\Oracle\Java\javapath.

Interested in Java? Check out this Java tutorial by Intellipaat. 

Related questions

0 votes
1 answer
0 votes
2 answers

1.2k questions

2.7k answers

501 comments

693 users

Browse Categories

...