The solution to the problem is different from other solutions

java-jdk13 Error opening registry key ‘software\Javasoft\Java Runtime Environment’ problem solution differs from other solutions

to find other online solutions, found the first few pages of baidu solutions are the same. It’s disgusting. They tried all their ways to no avail, and then found a solution here.
C: \ ProgramData \ Oracle \ Java \ javapath. All Java files under this path are deleted.
later I thought maybe it was because I had installed java8 before and deleted it.
in addition, I recommend that you try other people’s solutions if they fail and try mine again.

Read More: