aspose file tools
The moose likes Java in General and the fly likes difference between jdk , jre and jvm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "difference between jdk , jre and jvm" Watch "difference between jdk , jre and jvm" New topic
Author

difference between jdk , jre and jvm

Shreyas Dange
Greenhorn

Joined: Jul 30, 2014
Posts: 15

can anyone please tell me what is the difference between jdk jre and jvm , i ve read about these terms but they are sort of confusing and not eloquent..
thanks..
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11814
    
  18

JDK - Java Development Kit. It include the JRE and JVM, and other things (like the javac compiler).

JRE - Java Runtime Environment. Everything you need to run a java program. This include the JVM and various class files (and more, methinks).

JVM - Java Virtual Machine. The java program that runs, reads the .class files, and executes your program. It talks to the OS.

Did you have more specific questions?

also note: at the bottom of this thread, you should see some links to "similar threads". You may find reading some of those helpful.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Shreyas Dange
Greenhorn

Joined: Jul 30, 2014
Posts: 15

well thanku fred , but i wud like to know whether jvm really i mean physically exits on our system as i ve read its a specification...
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
I was going to point you to #18 in the http://www.coderanch.com/how-to/java/JavaBeginnersFaq, but Fred beat me to it :-)

A JVM is an implementation of the JVM specification.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43295
    
  32
The diagram you find linked to from that FAQ 18 shows that the JVM is part of the JRE and the JRE is part of the JDK. If you are on this forum, you will almost certainly need a JDK (=Java Development Kit).
Shreyas Dange
Greenhorn

Joined: Jul 30, 2014
Posts: 15

thanku ulf .. its really good resource and it will definitely..
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: difference between jdk , jre and jvm
 
It's not a secret anymore!