+ 2
What is Java virtual machine?
3 Answers
+ 6
AĀ Java virtual machineĀ (JVM) is aĀ virtual machineĀ that enables a computer to runĀ Javaprograms as well as programs written inĀ other languagesĀ and compiled toĀ Java bytecode. The JVM is detailed by aĀ specificationĀ that formally describes what is required of a JVM implementation. Having a specification ensures interoperability of Java programs across different implementations so that program authors using theĀ Java Development KitĀ (JDK) need not worry about idiosyncrasies of the underlying hardware platform.
+ 3
A Java virtual machine (JVM), an implementation of the Java Virtual Machine Specification, interprets compiled Java binary code (called bytecode) for a computer's processor (or "hardware platform") so that it can perform a Java program's instructions. Java was designed to allow application programs to be built that could be run on any platform without having to be rewritten or recompiled by the programmer for each separate platform. A Java virtual machine makes this possible because it is aware of the specific instruction lengths and other particularities of the platform.