• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Core Java

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Niranjan,

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

Regards,
E. Rajasekar.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic