aspose file tools*
The moose likes Beginning Java and the fly likes Difference 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 » Beginning Java
Bookmark "Difference between JVM and JRE" Watch "Difference between JVM and JRE" New topic
Author

Difference between JVM and JRE

Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
I got an e-mail asking this question, and he didn't repost it here, so I thought that I would post it for him.
Anyone want to take a shot at this?


"JavaRanch, where the deer and the Certified play" - David O'Meara
Jyotsna Clarkin
Ranch Hand

Joined: Jan 26, 2001
Posts: 158
Hi Cindy,
Here's the stuff
JVM
A software "execution engine" that safely and compatibly executes the byte codes in Java class files on a microprocessor (whether in a computer or in another electronic device).
JRE
A subset of the Java Developer Kit for end-users and developers who want to redistribute the runtime environment. The Java runtime environment consists of the JVM, the Java core classes, and supporting files.
The java docs. has a very decent glossary - good for students ( I make mine check stuff BEFORE they ask ), and for other folks too
http://java.sun.com/docs/glossary.nonjava.html
regards,
Jyotsna
P.S. I wish more people would use search engines etc. They could figure out a lot of things themselves.
Cindy - now let's hope he/she at checks this board
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Nicely said
java.exe is a JVM. Browsers have a JVM built into them.
When you download the JRE from SUN you get the java.exe JVM with the deal as well as all the classes for the version of java that it reflects. Everything that a person would need to execute an application, but minus the documentation and the compiling tools etc.
Jyotsna Clarkin
Ranch Hand

Joined: Jan 26, 2001
Posts: 158
Originally posted by Cindy Glass:
Nicely said

Sun's wording not mine - my own explanation wasn't as pretty so I gave theirs' (should have made this clear- sorry).

[This message has been edited by Jyotsna Clarkin (edited July 03, 2001).]
gautham kasinath
Ranch Hand

Joined: Dec 01, 2000
Posts: 583
Hi! All!
Well it seems the lazy horse is me.. :|
Anyway I got the link and checked it..
I have a lot clear now. Thanks all.. and a special thanks to Cindy.
Sorry for having bothered you all.. I really thought there was more about the JVM n JRE than posted on the net.. but I know now that there aint much diff.
Regds
Gautham Kasinath
P.S. I shall remember to search and find the answers myself before I post it on the forum here after.


"In the country of the blind, the one eyed man is the King"
Gautham Kasinath CV at : http://www.geocities.com/gkasinath
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
gautham kasinath
Ranch Hand

Joined: Dec 01, 2000
Posts: 583
Hi! All!
well cindy I was wondering if you had worked on Java Comm API..
If you did can you help me out with Faxing thru modem using java Comm API..
I have posted the same on the Other Java APIs.
Regds
Gautham Kasinath
sharad goswami
Ranch Hand

Joined: Jan 18, 2001
Posts: 51
HI!
JVM IS ABSTRACT EXECUTION MACHINE WHILE JAVA RUN TIME ENGINE CONSIST OF JVM,API ETC.


Stop The World I Want To Get Off.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Difference between JVM and JRE