Java Platform: Difference between revisions

Content deleted Content added
m paragraph break added
No edit summary
Line 7:
 
[[Image:JavaPlatform1.jpg|600px|right|Java Platform diagram from Sun, Jan 2007]]
The Java Platform consists of several programs, each of which provides a distinct portion of its overall capabilities. For example, there is the Java compiler that converts Java source code into Java bytecode (an intermediate language for the [[Java Virtual Machine]] (JVM)) and provided as part of the [[Java Development Kit]] (JDK). There is a sophisticated [[Java Runtime Environment]] (JRE) that usually implements the JVM by means of a [[Just-in-time_compilation|just-in-time (JIT) compiler]] that converts intermediate bytecode into native machine code on the fly. There are extensive libraries (pre-compiled into Java bytecode) containing reusable code, as well as numerous ways for Java applications to be deployed, including being embedded in a web page as an applet. There are dozens[http://java.sun.com/javase/6/docs/ ofseveral other components], some available only in certain editions, as depicted by the diagram at right.
 
The essential components in the platform are the Java language compiler, the libraries, and the runtime environment in which Java intermediate bytecode "executes" according to the rules laid out in the virtual machine specification.