- 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
%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.