| Basic of JDK, JRE and JVM and there difference?
Below is the 3 main difference between JDK, JRE and JVM
(1)Full form
JDK:-JDK stands for Java Development Kit.
JRE:-JRE stands for Java Runtime Environment.
JVM:-JVM stands for Java Virtual Machine.
(2)Basic operation
JDK:-JDK is the tool which is important to compile, document and package Java programs.
JRE:-Its a runtime environment in which Java bytecode can be executed.
JVM:-JVM is an abstract machine. Basically its a specification which provides a run-time environment where Java bytecode can be executed.
(3)Implementation and Development
JDK:-JDK contains JRE plus development tools.
JRE:-JRE is an implementation of the JVM which physically exists.
JVM:-JVM basically follows three notations:-
(i)Specification,
(ii)Implementation
(iii)Runtime Instance. | | |