This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "diff. between Jvm and JRE." Watch "diff. between Jvm and JRE." New topic
Author

diff. between Jvm and JRE.

kapil bhate
Greenhorn

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 .
Cheerio!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: diff. between Jvm and JRE.