File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java 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 » Beginning Java
Bookmark "diff between JVM and JRE" Watch "diff between JVM and JRE" New topic
Author

diff between JVM and JRE

mustang india
Ranch Hand

Joined: Feb 05, 2002
Posts: 60
whats the diff between a JVM and A JRE. Which one sits over the other.
Thanks a bunch.
Mustang.
Steve Deadsea
Ranch Hand

Joined: Dec 03, 2001
Posts: 125
A JRE (Java Runtime Environment) contains a JVM (Java Virtual Machine). It also contains libraries.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
A "java-enabled" browser also invokes a JVM to execute the java code in and points to a JRE to find the Sun provided classes for the application to use.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
I think of the JRE as the files which are needed to run a JVM, which is an active process on your computer. You can install a JVM once on your machine, and then you can (if you want) run several simultaneous independent JVMs using those JRE files.
[ April 24, 2002: Message edited by: Jim Yingst ]

"I'm not back." - Bill Harding, Twister
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: diff between JVM and JRE