Do i need jdk and jre?

I used to have jre 7, and now I installed jdk 8 and deleted the jre 7 folder. I have Eclipse Kepler and I added jdk 1.8 to the installed jre's. Can I delete the jre 1.8 folder as taking up space on my computer? Will this cause any problems?

+8
java eclipse
source share
3 answers

JRE is part of the JDK.

You do not need to have a JRE when you have a JDK. If you open the JDK folder and see, you will have a JRE folder inside it, that is, the same JRE folder as you have.

+7
source share

As everyone said that the JDK includes the JRE, this is completely correct.

But let me add more about it to fill the factory structure.

while Employee is working on some project, they needed the JDK at the time. because they must also write code as well as compile . but after the development process is complete, the software is ready for delivery.

then the client machine has a choice whether JDK OR JRE needed.

I recommend installing JRE on the client machine, as the client is not suitable for compile . the client always goes straight to execute it.

therefore, do not install the JRE on the client JDK . it will also give the advantage of Memory - Utilization .

thanks.

+3
source share

You can remove the JRE. JDK is a superset of JRE and contains everything already.

+1
source share

All Articles