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.
vishal gajera
source share