What is JDK ?
JDK stands for java development kit. it internally contains JRE and JVM. Where JRE stands for java virtual machine and JRE stands for java runtime environment. JDK provides all the tools to work with java language.
JDK=JRE+JVM(library)
What is JRE ?
It stands for java runtime environment. Used to execute the java program. It internally contains JVM which is responsible for execute java program.
JRE=JVM+ library
What is JVM ?
JVM stands for java virtual machine. It is the software in the form of interpreter written in 'C' language through which we can execute our java program.
JVM performs following main tasks.
- Loads code.
- Verifies code.
- Execute code.
- Provide runtime environment libraries.
Tags:
PROGRAMMING