Java Virtual Machine
Java Virtual Machine
What is JVM?
Reading Bytecode.
Verifying bytecode.
Linking the code with the library.
Diagram of JVM
JVM generates a .class(Bytecode) file, and that file can be run in any
OS, but JVM should have in OS because JVM is platform dependent.
Platform Independent
Java is called platform independent because of Java Virtual
Machine. As different computers with the different operating system
have their JVM, when we submit a .class file to any operating
system, JVM interprets the bytecode into machine level language.