Java virtual machine

Java virtual machine
DesignerSun Microsystems
Bits32-bit
Introduced1994
Version20.0.1[1]
TypeStack and register–register
EncodingVariable
BranchingCompare and branch
EndiannessBig
OpenYes
Registers
General-purposePer-method operand stack (up to 65535 operands) plus per-method local variables (up to 65535)
Overview of a Java virtual machine (JVM) architecture based on The Java Virtual Machine Specification Java SE 7 Edition

A Java virtual machine (JVM) is a virtual machine that enables a computer to run Java programs as well as programs written in other languages that are also compiled to Java bytecode. The JVM is detailed by a specification that formally describes what is required in 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.

The JVM reference implementation is developed by the OpenJDK project as open source code and includes a JIT compiler called HotSpot. The commercially supported Java releases available from Oracle are based on the OpenJDK runtime. Eclipse OpenJ9 is another open source JVM for OpenJDK.

  1. ^ yan (2023-06-24). "JDK 20 Release Notes". Oracle Corporation. Archived from the original on 2021-07-09. Retrieved 2023-06-24.

Developed by StudentB