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?