xxxxxxxxxx
JVM is an acronym for Java Virtual Machine;
it is an abstract machine which provides the runtime environment
in which Java bytecode can be executed.
It is a specification which specifies the working of Java Virtual Machine.
Its implementation has been provided by Oracle and other companies.
Its implementation is known as JRE.
JVMs are available for many hardware and software platforms
(so JVM is platform dependent). It is a runtime instance which is
created when we run the Java class.
There are three notions of the JVM: specification, implementation, and instance.
xxxxxxxxxx
JVM:
1. JVM is an abstract machine.
Because it doesn't physically exist.
2. It is a very important part of both JDK
and JRE because it is inbuilt in both.
3. Whatever Java program we want to run, goes into JVM.
4. And JVM is responsible for loading,
verifying and executing the java program
line by line hence it is also known as interpreter.
xxxxxxxxxx
jvm stands for java virtual machine and it s platform dependent which is used to execute the java file i,e .class files.
A Java virtual machine (JVM) is a process virtual machine that can execute Java bytecode. Each Java source file is compiled into a bytecode file, which is executed by the JVM.