JDK is a development kit containing JRE and the development tools (debugger and compiler) needed for getting a program output in Java. Simply put, JRE happens to be a subset of JDK; that is, it is included in JDK. Therefore, we will need to install JDK to write and run programs .
Do we need to install JDK?
JDK is a development kit containing JRE and the development tools (debugger and compiler) needed for getting a program output in Java. Simply put, JRE happens to be a subset of JDK; that is, it is included in JDK. Therefore, we will need to install JDK to write and run programs .