This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between jdk , jre and jvm

 
Shreyas Dange
Greenhorn
Posts: 16
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12085
29
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Shreyas Dange
Greenhorn
Posts: 16
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48386
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanku ulf .. its really good resource and it will definitely..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic