Learn Pain Less

HomeOur TeamContact
What is JVM, why it is required in Java Programming
Pawneshwer Gupta
Pawneshwer Gupta
January 02, 2015
1 min
What is JVM, why it is required in Java Programming

JVM stands for Java Virtual Machine.JVM is platform where Java programs are executed. without JVM we can’t execute java programs. Java program generate output in bytecodes and that bytecodes are executed in JVM. We don’t need to compile java programs again and again for different platforms, because JVM is available for all platforms. Set of Registers,Garbage heap size,method area are specified inside JVM, and JVM tells java programs about these specifications which will be allocated to each program.A Java virtual machine can either interpret the bytecode one instruction at a time (mapping it to a real processor instruction) or the bytecode can be compiled further for the real processor using what is called a just-in-time compiler.

What JVM does ???

  1. JVM loads the code.
  2. JVM verify the code.
  3. JVM executes the code.
  4. JVM provides Runtime Environment.
  5. JVM Provide Memory area for java programs.
  6. JVM Register set.
  7. JVM provide garbage heap size to java program.
  8. JVM provide fatal error reporting

Subscribe to our newsletter!

We'll send you the best of our blog just once a month. We promise.


startjvmgarbageheap size


Pawneshwer Gupta

Pawneshwer Gupta

Software Developer

Pawneshwer Gupta works as a software engineer who is enthusiastic in creating efficient and innovative software solutions.



Social Media

Related Posts

Working with Files, Folders java
Working with Files, Folders java
March 25, 2015
1 min
Learn Pain Less  © 2024, All Rights Reserved.
Crafted with by Prolong Services

Quick Links

Advertise with usAbout UsContact Us

Social Media