Java Virtual Machine

From Rosetta Code
Revision as of 16:19, 8 September 2011 by rosettacode>Kernigh (The Java Virtual Machine is a virtual machine, though anyone might guess this obvious fact.)
Java Virtual Machine is a virtual machine. Other virtual machines.

The Java Virtual Machine or JVM interprets Java byte code (compiled Java code) and runs the program. JVM's have been created for many different platforms, which gives Java its platform-independent nature. It manages memory usage via a garbage collector. It also manages concurrent threads (the programmer can attempt to control certain threads, though).