Before knowing about Java Virtual Machine (JVM) we should know about Java Run-time Environment (JRE).
Java Run-time Environment (JRE) helps in running the program. JRE contains Java Virtual Machine, Java Classes, Packages and Run-time Library.
If we don't want want to write programs but only execute the program written by others then JRE alone will be Sufficient.
Java Virtual Machine :-
Java Virtual Machine (JVM) is the important part of Java Run-time Environment (JRE). Which actually runs the program (.class), it is used to run the java .class file & Run-time library to execute those program.
- Every Operating System or Platform will have different JVM.
- JVM is an Abstract Computing Machine.
- JRE is an implementation of the JVM.
- JVM becomes an Instance of JRE of Run-time of a Java Program. It is widely known as Run-time Interpreter.
- The JVM is a foundation on top of which the java technology is built-in upon.
- JVM Largely helps in the abstraction of inner implementation from the programs who make use of libraries for the program.
0 Comments