Programs written in Java are compiled into Java Byte code, which is then interpreted by a special Java Interpreter for a specific platform. Actually, this Java interpreter is known as the Java Virtual Machine(JVM). The machine language for the Java Virtual Machine is called Java byte code.
The Java interpreter, when run on any machine, looks and acts like a “virtual” processor chip, hence the name JVM. The Java Virtual Machine is a software abstraction that runs on top of existing processors. It shields Java applications from the underlying operating system. The Java Virtual Machine is a software or hardware implementation of the Java Virtual Machine.
The Java Platform is made up of the JVM and Java APIs. The Java API (Application Programming Interface) are compiled code libraries that you can use in your programs. In other words, the Java API is a set of functions and variables that programmers can use in their programs.
What it does
The JVM performs following
- Loads code
- Verifies code
- Executes code
- Provides runtime environment
JVM provides definitions for the:
- Memory area
- Class file format
- Register set
- Garbage-collected heap
- Fatal error reporting etc.
JVM Architecture
Let’s understand the internal architecture of JVM. It contains a class loader, memory area, execution engine, etc.
Note: also read about the What is Java programming language
Follow Me
If you like my post please follow me to read my latest post on programming and technology.
https://www.instagram.com/coderz.py/
https://www.facebook.com/coderz.py
Staying up to the mark is what defines me. Hi all! I’m Rabecca Fatima a keen learner, great enthusiast, ready to take new challenges as stepping stones towards flying colors.
Leave a Comment