File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java 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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Difference between JDK, JRE and JVM" Watch "Difference between JDK, JRE and JVM" New topic
Author

Difference between JDK, JRE and JVM

Avishek Banerjee
Greenhorn

Joined: Jul 11, 2006
Posts: 17
Please clarify the difference between JDK, JRE and JVM. Also, which of these can be independently implemented by people other than Sun. I have tried to get this clarification from many places, but non have satisfied me.


Avishek<br />SCJP 5.0 - 90%
Rajah Nagur
Ranch Hand

Joined: Nov 06, 2002
Posts: 239
http://java.sun.com/docs/glossary.html


You can't wake a person who is <b><i>pretending</i></b> to be asleep.<br />Like what <b>"it"</b> does not like - <i> Gurdjieff </i>
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Moving to Java In General (Beginner)


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14107
    
  16

The JVM (Java Virtual Machine) is the engine that executes Java byte code.

The JRE (Java Runtime Environment) consists of the JVM plus everything around it that is needed to be able to run Java programs: an implementation of the standard Java API, etc.

The JDK (Java Development Kit) is the JRE plus the tools that you need to develop software in Java (the compiler and other tools).

Developers who want to write Java programs need the JDK. End users, who want to run software written in Java, need the JRE. Each of the three can be implemented by any person or company other than Sun.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
jQuery in Action, 2nd edition
 
subject: Difference between JDK, JRE and JVM