What is Java Virtual Machine (JVM) ?

JVM stands for Java Virtual Machine . JVM is an abstract computing machine that enables a computer to run a Java program. JVM perform following main tasks :

  • Loads Code
  • Verifies Code
  • Executes Code
  • Provides runtime environment
  1. A specification where working of Java Virtual Machine is specified. But implementation provider is independent to choose the algorithm. Its implementation has been provided by Sun and other companies.
  2. An implementation Its implementation is known as JRE (Java Runtime Environment).
  3. Runtime Instance Whenever you write java command on the command prompt to run the java class, and instance of JVM is created.


Leave a Reply