AF
HomeTagSubmit NotesAsk AnythingLoginSubscribe Us
AF
1. Feel Free to ask and submit anything on Anyforum.in 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 - anyforum.in Garima Gupta
596129560202
up-rate
8
down-rate

Answers


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**************************************
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***************************************
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.

java-jre
*********************************************JDK***************************************
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 - anyforum.in Rishi Kumar
523188250047
Reply This Thread
up-rate
10
down-rate



Post Answer
Please Login First to Post Answer: Login login with facebook - anyforum.in