#thefunctionofJVM
Explore tagged Tumblr posts
corejavatopics · 4 years ago
Text
JVM Architecture | How JVM Works? | JVM in Java Full Explained
Tumblr media
In this article we discuss what is java virtual machine, JVM architecture, How JVM works, the Role of JVM in Java, what are the functions of JVM, and also learn about the Compilation and Execution Process in Java VM. So let's start from the beginning. What is JVM in java? The full form of JVM is "Java Virtual Machine" and it is an abstract computing machine. yes, it is called a virtual machine. because it does not exist physically. JVM provides a Runtime environment. where java bytecode (.ClassFile) can be executed. JVM can also run those programs, which are written in other languages and compiled into the Java bytecode. It is available for Hardware and software platforms. JVM is platform dependent, because the configuration of every OS system is different from each other.  Note:- JVM is the only one Who can call the main method, which is present in the Java code. There are 3 Notation of JVM. Specifications: JVM has Some specification, which provides fully detailed requirements for implementations. its implementation is distributed by the Oracle Company. Implementation: JVM is part of JRE (Java Runtime Environment), and its Implementation is known as JRE. (Runtime) Instance: when we are put a commend ( java classFileName) in the prompt at that time instance of JVM is created. Which runs our class file or application. Must Read: What is the Advantages of Java? In every operating system for each application have one instance which is running into your computer. Read the full article
0 notes