Understanding JDK, JRE, and JVM
JVM
- JVM stands for (Java Virtual Machine) and it creates a virtual environment to execute Java bytecode.
- JVM is available on many hardware and software platforms.
- It has 4 main tasks:
– Load code
– Verifies code
– Executes code
– Provides runtime environment
JRE
- JRE stands for Java Runtime Environment.
- It helps execute the JVM and provides the basic environment.
JDK
- Java Development Kit. It includes JRE + development tools.
credit: https://learningjavas.blogspot.com/2013/05/su-khac-biet-giua-jdkjre-va-jvm-la-gi.html