Java+Virtual+Machine

toc = __Introduction__ =

Java Virtual Machine (or JVM for short) is a software program and data structure made by [|Sun] that converts Java bytecode into machine language so that the computer processor can interpret the programming language and execute it. Java binary code is called bytecode which a CPU cannot read. The idea behind JVM is to enable programmers to be able to program with Java without having to rewrite the program into machine language for the CPU to run the program.

= __How JVM Works with Java__ = Java is partially interpreted. ==
 * 1) Programmer writes a program in textual form
 * 2) Runs the compiler, which converts the textual form into bytecode
 * 1) The bytecode file is then run over an interpreter (Java Virtual Machine)
 * 2) The interpreter executes the native machine code instructions to each instruction in bytecode so that it corresponds


 * see diagram to the right --->

= __Examples of JVM languages__ =

Common or Well-Known JVM Languages

 * Groovy (a scripting language)
 * JavaFX Script (a scripting language that targets the Rich Internet Application web applications)
 * Jython (an implementation of JavaScript)
 * Rhino (an implementation of JavaScript)

JVM Implementations of Existing Languages

 * Ada
 * C
 * Common Lisp
 * Forth
 * JavaScript
 * Lua
 * Pascal
 * PHP
 * Python
 * Ruby

[[image:clickhere_copy.PNG width="258" height="126" align="right" link="@http://spreadsheets.google.com/viewform?formkey=dFlOb0ZYRU0yNDZKU19WeFNzbEMteHc6MA.."]]

 * Scheme
 * Tcl

for more examples click here
= = = __Further Reading__ =

For You
media type="youtube" key="WAy9mgEYb6o" height="340" width="560" above is a video overview of Java`s history

Java History [|Java`s official website]