Question: why does jdk install jre?
Answer: JRE is a part of JDK. If you open JDK folder and see, you'll have JRE folder inside it which is the same of JRE folder initially you have. As all have said that JDK includes JRE, that is perfectly right. But let me add more on it to fulfill an industrial Structure.