I used to have JRE 7 before, and now I installed JDK 8 and deleted my JRE 7 folder. I\'m using Eclipse Kepler, and I added JDK 1.8 to my installed JRE\'s. Can I delete the J
You can delete JRE. JDK is a superset of JRE and contains everything already.
As all have said that JDK includes JRE, that is perfectly right.
But let me add more on it to fulfill an industrial Structure.
While an employee works on some project, they need JDK for they need to write code as well as compile it. But after the development process completes, the software is ready to deliver and the client's machine will have to choose whether JDK is needed or the JRE.
I would recommend to install JRE on clients' machines because clients don't have to compile the code. Clients always goes straight forward to execute it.
So, make sure to install JRE on clients' machines, not JDK. It will give the advantage of Memory - Utilization
too.
Thanks.
JRE is a part of JDK.
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.