Java virtual machine

This is an old revision of this page, as edited by Mav (talk | contribs) at 23:59, 8 December 2002. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The Java virtual machine or JVM is a Virtual machine that runs Java byte code, the code produced by a Java compiler or compilers from other languages which produce this code.

Programs written in Java are compiled into a standardized portable binary format. This binary is then interpreted at runtime by a JVM written specifically for that particular operating system and architecture.

The specification for this virtual machine are published in book form and HTML and anybody is allowed to write an implementation of it. The preface states:

We intend that this specification should sufficiently document the Java Virtual Machine to make possible compatible clean-room implementations. Sun provides tests which verify the proper operation of implementations of the Java Virtual Machine.

See www.kaffe.org for an example of a group of developers having done this.