• Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between JRE & JVM  RSS feed

 
Amit Khatnani
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you tell me the differnce between JRE & JVM
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JVM (Java Virtual Machine) is actually a set of specifications that Sun puts out for makers of browsers and embedded chips etc. to follow when creating their JVMs for their products. When you run an applet or servlet it is running in a JVM.
The JRE (Java Runtime Environment) is the equivalent of a JVM but for running applications outside of a browser (like from the DOS prompt). It contains the Java Foundation Classes for the release of Java that it implements.
 
Himanshu Pathak
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for a better understanding visit.
Inside Java : The Java Virtual Machine
cheers.
[ April 29, 2004: Message edited by: Himanshu Pathak ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!