What is Java Virtual Machine (JVM) ?
Definition of Java Virtual Machine (JVM)
Java Virtual Machine is a type of virtual machine that can execute and convert Java bytecode into machine language. It enables execution of the Java bytecode independent of the operating system. It can connect different machines by translating the program coding.
Brief Description of Java Virtual Machine (JVM)
Java Virtual Machine interprets Java bytecodes and makes it readable for the processor and executable on any platform without being rewritten or recompiled. This is done because of its capability of being aware of the instruction lengths and another familiarity about the platform. It uses two methods for interpretation of a piece of instruction or bytecode:
- It either interprets the bytecode by taking one piece of code at one time
- Using the just-in-compiler technique and compiling the bytecode
Azul Zing JVM, CEE-J, Excelsior JET, J9, JBed, Jamaica, JBlend, JRockit are some examples of proprietary Java implementations.