21
1
- I've removed all ancient java 8 install on my computer.
- I've downloaded latest openjdk 11 from https://jdk.java.net/11/ and extracted the content to C:\Program Files\Java\
- I've setup system environment variable to
JAVA_HOME = C:\Program Files\Java\jdk-11.0.1
and added
%JAVA_HOME%\bin to Path.
- In a command prompt > java -version return:
Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
- Why?
Thanks! The above steps fixed the error I was getting. Then to finish the clean-up, I deleted the C:\ProgramData\Oracle folder since it didn't contain anything else useful to me. I also removed C:\ProgramData\Oracle\Java\javapath from my system PATH environment variable where Oracle had left it as the first entry. – Bill Menees – 2019-06-06T12:27:45.023
Thank you so much! I was getting really frustrated. – Sven M. – 2019-11-13T13:27:27.283
Thanks! It works. – Fatmajk – 2020-02-06T18:58:31.667