Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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 .
I agree. Here's the link:
subject: diff. between Jvm and JRE.
It's not a secret anymore!