Content deleted Content added
m avoid redirect, Replaced: Java programming language → Java programming language using AWB |
m →Class libraries: Copyedit. Wikify dates (where month and day both present). |
||
Line 18:
Since JRE version 1.2, Sun's JVM implementation has included a [[just-in-time compilation|just-in-time compiler]] instead of an interpreter.
==
In most modern operating systems, a large body of reusable code is provided to simplify the programmer's job. This code is typically provided as a set of [[Library (computer science)#Dynamic linking|dynamically loadable libraries]] that applications can call at runtime. Because the Java Platform is not dependent on any specific operating system, applications cannot rely on any of the existing libraries. Instead, the Java Platform provides a comprehensive set of standard class libraries, containing much of the same reusable functions commonly found in modern operating systems.
The Java class libraries serve three purposes within the Java Platform. Like other standard code libraries, they provide the programmer a well-known set of functions to perform common tasks, such as maintaining lists of items or performing complex string parsing. In addition, the class libraries provide an abstract interface to tasks that would normally depend heavily on the hardware and operating system. Tasks such as network access and file access are often heavily dependent on the native capabilities of the platform. The Java java.net and java.io libraries implement the required native code internally, then provide a standard interface for the Java applications to perform those tasks. Finally, some underlying platforms may not support all of the features a Java application expects. In these cases, the class libraries can either emulate those features using whatever is available, or provide a consistent way to check for the presence of a specific feature.
Currently the class libraries included in the [[JRE]] are still proprietary software. There is an ongoing project of the [[Free Software Foundation]] for writing a compatible free set of libraries. It is called [[Classpath]]. On [[November 13
| url=http://www.sun.com/smi/Press/sunflash/2006-11/sunflash.20061113.1.xml
| title=Sun Open Sources Java Platform
| publisher=Sun Microsystems
| date=[[2006-11-13]]
| accessdate = 2006-11-13}}</ref>
== Languages ==
|