>
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.