• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

diff between JVM and JRE

 
mustang india
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whats the diff between a JVM and A JRE. Which one sits over the other.
Thanks a bunch.
Mustang.
 
Steve Deadsea
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A JRE (Java Runtime Environment) contains a JVM (Java Virtual Machine). It also contains libraries.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic