2-> After installing the JRE kindly go to directory where you have install the JRE 3-> And copy all the file of from the JRE folder 4-> And paste in the jdk folder but5-> while copying the file make sure you replace-and-copy the file while any prompt pop out