why do I get this? How can I fix it?
C:\\Users\\ash>java version Error: Registry key \'Software\\JavaSoft\\Java Runtime Environment\'\\Cu
I had a similar issue after installing the java 10.0
To fix this go to Advance System setting --> path and remove
C:\ProgramData\Oracle\Java\javapath;