JDK,JRE And JVM:
JDK(Java Development Kit)
JRE(Java Runtime Environment)
JVM(Java Virtual Machine)
- To develop and run the Java application, we need an environment and that required environment is JDK(Java Development Kit). So first we have to install JDK first.
- At the client side, just to run the application, the required environment is JRE(Java Runtime Environment). Once you will install JDK, automatically JRE will create.
- In JRE, JVM is responsible to run the application. That means JVM providing JAVA execution engine that is JAVA interpreter named as java which executes source code.
JDK=JRE+ Development tools(like Eclipse, MyEclipse, Netbean etc.)
JRE=JVM+ libraries(JAVA Packages).