epubjs
Version:
Render ePub documents in the browser, across many devices
16 lines (15 loc) • 1.66 kB
HTML
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>The Java VM</title><link rel="stylesheet" href="core.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"/></head><body><div class="sect1" title="The Java VM"><div class="titlepage"><div><div><h1 class="title"><a id="learnjava3-CHP-3-SECT-1"/>The Java VM</h1></div></div></div><p><a id="idx10119" class="indexterm"/> <a id="I_indexterm3_id644353" class="indexterm"/>A Java virtual machine (VM) is software that implements the
Java runtime system and executes Java applications. It can be a standalone
application like the <span class="emphasis"><em>java</em></span> command that comes with the
JDK or built into a larger application like a web browser. Usually the
interpreter itself is a native application, supplied for each platform,
which then bootstraps other tools written in the Java language. Tools such
as Java compilers and IDEs are often implemented directly in Java to
maximize their portability and extensibility. NetBeans, for example, is a
pure-Java application.</p><p>The Java VM performs all the runtime activities of Java. It loads
Java class files, verifies classes from untrusted sources, and executes
the compiled bytecode. It manages memory and system resources. Good
implementations also perform dynamic optimization, compiling Java bytecode
into native machine instructions.<a id="I_indexterm3_id644375" class="indexterm"/></p></div></body></html>