File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes JRE vrs. JVM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JRE vrs. JVM" Watch "JRE vrs. JVM" New topic

JRE vrs. JVM

vijay shanker
Ranch Hand

Joined: Oct 26, 2007
Posts: 88
What is the difference between both?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
See #18 in the
Diego Freniche

Joined: Dec 28, 2007
Posts: 8
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

SCBCD 1.3, SCWCD 1.5, SCJP 1.5 & 1.6
Raees Uzhunnan
Ranch Hand

Joined: Aug 15, 2002
Posts: 126
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

[ January 03, 2008: Message edited by: Raees Uzhunnan ]

Sun Certified Enterprise Architect
Java Technology Blog
Bill Shirley
Ranch Hand

Joined: Nov 08, 2007
Posts: 457
nice diagram:

JRE - bracket on left

Java Virtual Machine - blue layer on bottom

Bill Shirley - bshirley -
if (Posts < 30) JavaRanchFAQ);
I agree. Here's the link:
subject: JRE vrs. JVM
It's not a secret anymore!