I have tried everything to fix this issue. Java version is 1.8.0_211 build 12 so the latest version is installed. I changed the PATH variable, deleted the javapath; variable, reinstalled Java several times, and made sure every trace was gone except for the registry.
Can someone please give me a step by step process of how to fix the registry since that most likely seems like the culprit? There are no good YouTube videos available. This is the first time I have had this issue. Here is a screenshot of my registry JavaSoft folder:
Another thing is when I type
java -version in command prompt it says "java is not recognized as an internal command" so not sure what is going on there.