Difference between JDK, JRE and JVM?
JDK :- Java Development Kit(JDK) provides an environment to develop and executes the Java Program. If you(as as Developer or Learner) want to make an program on Java, first you need JDK installed in your machine which is easily available on Oracle website. JDK includes two things, first is development tool(Which provides environment to develop the program or application) and second is JRE(which provides environment to executes the program on your machine).
JRE :- Java run-time environment is a installation package which only provide environment to execute the program not to develop on your machine.
JVM :- JVM is the most important part for both JDK and JRE. JVM is pre-installed in both, whatever java code you wants to execute or to develop goes into JVM and JVM is only responsible to code line by line. In other words you can say JVM works as a interpreter.
0 comments:
Post a Comment