Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Core Java

 
Niranjan Prasad
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between JVM and JRE?
We all know that JVM is part of O/S.
Can we say that the JRE is superset of JVM.
Does JRE provide the all the in built classes required by the JVM?
 
Rajasekar Elango
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Niranjan,

This has been answered many times. Please search the forum..

Regards,
E. Rajasekar.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15288
39
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> What is the difference between JVM and JRE?

The JVM is the Java Virtual Machine, the JRE is the Java Runtime Environment, which includes the JVM and everything around it that you need to run Java programs.

You can compare it with the following: the JVM is the engine, and the JRE is a complete car. To be able to drive somewhere, you need the complete car, not just the engine.

> We all know that JVM is part of O/S.

No, the JVM is not part of the operating system.

> Can we say that the JRE is superset of JVM.

See above.

> Does JRE provide the all the in built classes required by the JVM?

Yes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic