Question: i have jdk but not jre?
Answer: No need to have JRE when you have 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.