Java virtual machine: Difference between revisions

Content deleted Content added
No edit summary
Revert... "It is the Java interpreter" adds nothing, and is only confusing. Some JVMs, like Jikes, have no interpreter at all.
Line 1:
[[de:Java Virtual Machine]] [[ja:JavaVM]]
 
The '''Java virtual machine''' or '''JVM''' is a [[virtual machine]] that runs Java [[byte code]], the code produced by a [[Java programming language|Java]] [[compiler]] or compilers from other languages which produce this code. It is the Java interpreter.
 
Programs written in Java are compiled into a standardized portable binary format, which typically comes in the form of files with the [[class (file format)|.class]] extension. A program may consist of many classes, in which case, every class will be in a different file. The first 4 bytes in hexadecimal of each class must be CA FE BA BE. Class files may be packaged together in a [[jar (file format)|.jar]] file, with the exact same format as a [[zip (file format)|.zip]] file, optionally with a few extra special files added.