• Post Reply Bookmark Topic Watch Topic
  • New Topic

About java  RSS feed

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference b/w JDK,JRE and JVM..?
 
Rancher
Posts: 1816
15
Android Eclipse IDE Java Java ME
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java Developer Kit contains tools you need to develop a Java program, and JRE to run the programs.


You need JDK, if at all you want to write your own programs, and to compile. For running java programs, JRE is sufficient.

The JVM provides an interface that does not depend on the underlying operating system and machine hardware architecture.


You will get more information if do some search on this topic.
 
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From a JavaRanch FAQ:


18. What is a JVM? JRE? JDK? J2SDK?

A JVM (Java Virtual Machine) is an imaginary (theoretical) machine that executes Java bytecodes.
A JRE (Java Runtime Environment) is a software implementation of a JVM and all the standard Java libraries, and other bits and pieces that are needed to make the thing actually work.
A JDK (Java Developer's Kit) or J2SDK (Java 2 Software Developer's Kit) are two different names for the same thing: a JRE plus tools like the Java compiler, debugger, and other things needed for basic Java development.
The diagram on this page visualizes it nicely: JDK and JRE are brackets on the left, while the JVM is the blue layer at the bottom.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!