This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JRE vrs. JVM  RSS feed

 
vijay shanker
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between both?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See #18 in the http://faq.javaranch.com/java/JavaBeginnersFaq
 
Diego Freniche
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Think of it that way:
- JVM: Java Virtual Machine. The program that interpretes Java bytecode stored in .class files. In Windows, java.exe.
- JRE: Java Runtime Environment. A JVM is not enough. You need an implementation of the core Java APIs. As you need in C the shared libraries installed in your system.

In short:
JRE = JVM + core Java APIs (in jar format) + utils
 
Raees Uzhunnan
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The above postings are right !. Additionally if you are looking for java development, you need to download Java SDK (or called JDK ). This includes all the above and the tools to develop; compile ; debug and deploy

Raees
[ January 03, 2008: Message edited by: Raees Uzhunnan ]
 
Bill Shirley
Ranch Hand
Posts: 457
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nice diagram:

http://java.sun.com/j2se/1.5.0/docs/

JRE - bracket on left

Java Virtual Machine - blue layer on bottom
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!