HomeTagSubmit NotesAsk AnythingLoginSubscribe Us
1. Feel Free to ask and submit anything on and get satisfactory answer
2. Registration is not compulsory, you can directly login via google or facebook
3. Our Experts are looking for yours ?.

corejava-basics: What is the difference between JDK, JRE and JVM?

Please explain me the basic difference between (java development kit) JDK, (java runtime environment) JRE and (java vertual machine) JVM in java

corejava x 353
basics x 171
Posted On : 2013-11-10 18:51:53.0
profile Garima Gupta - Garima Gupta


Understanding the difference between JDK, JRE and JVM is important in Java. Let´s see the basic differences between the JDK, JRE and JVM.
JVM is an acronym for Java Virtual Machine, it is an abstract machine which provides the runtime environment in which java bytecode can be executed.
JVMs are available for many hardware and software platforms (so JVM is plateform dependent).
The JVM performs four main tasks:
Loads code
Verifies code
Executes code
Provides runtime environment

JRE stands for Java Runtime Environment. It is the implementation of JVM and physically exists. It contains set of libraries + other files that JVM uses at runtime.

JDK is an acronym for Java Development Kit. It physically exists. It contains JRE + development tools.

Posted On : 2013-11-10 19:35:32
Satisfied : 2 Yes  0 No
profile Rishi Kumar - Rishi Kumar
Reply This Thread

Post Answer
Please Login First to Post Answer: Login login with facebook -