简体   繁体   中英

jre folder not found for java se 13

I downloaded the installer for the java se 13 development kit. When the installation completed the jre folder was missing in the C://java directory. When I entered the command java -version in the cmd prompt I got three errors stating:

error: opening registry key 'software/javasoft/jre'

error: could not find java.dll

error: could not find java se runtime environment

How to rectify this situation?

Make sure you remove any java.exe, javaw.exe and javaws.exe from your Windows\System32 folder and if you have an x64 system (Win 7 64 bits) also do the same under Windows\SysWOW64.

Java Error opening registry key

Have a look.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM