This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Java in General and the fly likes diff. between Jvm and JRE. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "diff. between Jvm and JRE." Watch "diff. between Jvm and JRE." New topic

diff. between Jvm and JRE.

kapil bhate

Joined: Mar 04, 2004
Posts: 15
is anybody tell me the diff. between java virtual machine(jvm)and java runtime environment please?
Aneesha Singh
Ranch Hand

Joined: Jan 14, 2002
Posts: 47
Hi Kapil,
Java Virtual Machine or JVM is a platform-independent programming language that converts Java bytecode into machine language and executes it. Most programming languages compile source code directly into machine code that is designed to run on a specific microprocessor architecture or operating system. A JVM enables Java bytecode to be executed as actions or operating system calls on any processor regardless of the operating system.

JRE or Java Runtime Environment is what is needed to run java applications. This consists of a JVM plus the core Java libraries required for program execution. It is not as comprehensive as a full Java installation (Java Development Kit - JDK) since it doesn't come with example code, api documentation, a compiler, etc.
I hope that helps .
jQuery in Action, 2nd edition
subject: diff. between Jvm and JRE.