• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between JDK, JRE and JVM

 
Avishek Banerjee
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rajah Nagur
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://java.sun.com/docs/glossary.html
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Java In General (Beginner)
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15354
39
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic