I have installed the jre is D:/java. Some files get deleted by mistake from that folder so I have tried to reinstall kernel jre with default installation. If kernel jre knows the path of jre installation why not its modifying the same path. In my case reinstallation went through a new path and seems to be a default path, which is not correct. Not only that the installation not seems to be right at new folder as well.