Difference between JDK,JRE and JVM
Understanding the difference between JDK, JRE and JVM is important in Java. We will have brief overview of JVM here. If you want to gain the detailed knowledge of JVM, move to the next page. Firstly, let's
see the basic differences between the JDK, JRE and JVM.
JVM JVM (Java Virtual Machine) is an abstract machine.It is a specification that provides runtime environment
in which java bytecode can be executed.
JVMs are available for many hardware and software platforms (i.e.JVM is plateform dependent).
The JVM performs four main tasks:
JRE is an acronym for Java Runtime Environment.It is used to provide runtime environment.It is the
implementation of JVM.It physically exists.It contains set of libraries + other files that JVM uses at runtime.
Implementation of JVMs are also actively released by other companies besides Sun Micro Systems.
JDK
JDK is an acronym for Java Development Kit.It physically exists.It contains JRE + development tools.
Understanding the difference between JDK, JRE and JVM is important in Java. We will have brief overview of JVM here. If you want to gain the detailed knowledge of JVM, move to the next page. Firstly, let's
see the basic differences between the JDK, JRE and JVM.
JVM JVM (Java Virtual Machine) is an abstract machine.It is a specification that provides runtime environment
in which java bytecode can be executed.
JVMs are available for many hardware and software platforms (i.e.JVM is plateform dependent).
The JVM performs four main tasks:
- Loads code
- Verifies code
- Executes code
- Provides runtime environment
JRE is an acronym for Java Runtime Environment.It is used to provide runtime environment.It is the
implementation of JVM.It physically exists.It contains set of libraries + other files that JVM uses at runtime.
Implementation of JVMs are also actively released by other companies besides Sun Micro Systems.
JDK
JDK is an acronym for Java Development Kit.It physically exists.It contains JRE + development tools.
3 comments:
this is the most comprehensive set of differences which I have come across. Thanks. very useful for interview purposes. Another good resource on the same lines is difference between JVM, JRE and JDK
Difference between JDK, JVM and JRE
These three are most important in java
Nice Article. You can read more at http://modernpathshala.com/Article/2057/difference-between-jdk-jvm-and-jre
Post a Comment