JAVA VIRTUAL MACHINE
JAVA VIRTUAL MACHINE is a software that work on machine that is
install on any computer that interpreter class files .JVM
create the environment on the machine. JVM create environment for the
interpreter for bytecode .JVA Interpreter the bytecode and according to
machine code generate the machine .JVM is an abstract machine
that provides the run time environment in which bytecode can be JVM
plays the important role to making the java portable.it provides the layer of
abstraction between the compiled java program and the hardware platform
and the operating system.
HOW TO WORK JAVA
PROGRAM.
PROGRAM↔COMPILED---BYTECODE---JVM—INTERPRETER----MACHINE
CODE
When JVM program
compiled . it generate the bytecode and bytecode is class files it
is independent and after create bytecode JVM interpreter the bytecode and
generate the machine code.
.Operations in java
program
- Loads the code
- Verifies the code
- Execute the code
- Provide the runtime environment.
- How to jvm works
How to loads the
cloass(class loader)
It loads the class files
.THREE kind of the class loaders one is boot strap and other is
extension and other one is application .Boot strap loads the
(art.jar files) and extension it loads the classes and libraries from the
extension folder and system/application lads the class from ware you set
the class path when write the java program.
- What is Java.Why Use Java? lecture............. 1.
- Feature
of Java programing lecture................ 2.
- WHAT
IS JVM(JAVA VIRTUAL MACHIN................................3)