Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Diff between JVM and JRE

 
sim sim
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can somebody pl explain the diff between JVM and JRE ?
Regards,
Sim Sim.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A Google Search of the Beginner Forum turned up these conversations on the same topic.
JVM is the thing that code runs in. It is included with the JRE but there are other JVMs than the one in the JRE (like maybe in your cellphone or browser etc). Any vendor can create a JVM to include with their product as long as it follows the JVM specs published by SUN.
JRE is all the stuff to run java including a JVM the class files etc.
JDK includes the stuff to WRITE code. Nowadays they prefer to call it the SDK.
[ August 14, 2002: Message edited by: Cindy Glass ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic