Hi,
 
JVM is a virtual machine where java codes are executed. It contains the 
platform specs needed to compile java codes.
 
JRE runs the compiled codes for a JVM. JRE is provided in the Java SDK kit. It 
contains the class files of all the java packages. Basically, it loads the 
class, does code validation, and runs the code.


--- On Thu, 2/19/09, [email protected] <[email protected]> wrote:

From: [email protected] <[email protected]>
Subject: [java programming] Re: How JRE differs from JVM?
To: "Free Java Programming Online Training Course By Sang Shin" 
<[email protected]>
Date: Thursday, February 19, 2009, 1:46 PM

its like this:
 JRE = Java Runtime Environment (on your machine)
 JVM = Java Virtual Machine (on any machine)
simply means that there is a different Java program/interpreter for
Microsoft Windows,
 Apple Computer, Mobile devices, etc...
because they use different CPU chips & hence different programming
languages...
java looks after these differences & makes it easy for you to write
programs that work on more systems...

On Feb 19, 12:07 am, Selva <[email protected]> wrote:
> Hi all,
>
> Are they both same? if differences exist please explain.
>
> Regards,
> Selva





      
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to