| FazBrowse Wikipedia Viewer | Main Page | | |
| Viewing: https://en.wikipedia.org/wiki/Java_Class_Library |
| Contents |
|---|
| Conformance |
| Main features |
| Prior licenses |
| Open source release |
| Alternative implementations |
| See also |
| References |
| External links |
The Java Class Library (JCL) is a set of dynamically loadable libraries that Java Virtual Machine (JVM) languages can call at run time. It is the standard library of Java and other JVM languages, and is thus sometimes called the Java Standard Library. Because the Java Platform is not dependent on a specific operating system, applications cannot rely on any of the platform-native libraries. Instead, the Java Platform provides a comprehensive set of standard class libraries, containing the functions common to modern operating systems. Since Java 9, the Java Class Library can be accessed through module path using the Java Platform Module System.
JCL serves three purposes within the JVM:
It uses the namespaces java.*, javax.*, and jdk.*. Some bundled classes may reside in namespaces like sun.* or com.sun.* (for Sun Microsystems), but they are not considered part of the standard library. The javax namespace was primarily associated with Java Platform, Enterprise Edition as extension packages to the Java standard library.
rt.jar" JAR file and modularized the JCL itself in several modules with specified dependencies.Any Java implementation must pass the Java Technology Compatibility Kit tests for compliance, which includes JCL tests.
JCL Features are accessed through classes provided in packages.
Before the release of OpenJDK, the JDK was based on a proprietary license.
Following their promise to release a fully buildable JDK based on almost completely free and open-source code in the first half of 2007, Sun released the complete source code of the Class Library under the GPL on May 8, 2007, except some limited parts that were licensed by Sun from third parties who did not want their code to be released under an open-source license. Sun's goal was to replace the parts that remain proprietary and closed source with alternative implementations and make the Class Library completely free and open source.
Until December 2010, the remaining encumbered part of the JDK was made available by Sun then Oracle as Binary Plugs which were required to build the JDK but not necessary to run it. as of May 2008 and OpenJDK 6) was the SNMP implementation.
Since the first May 2007 release, Sun, with the help of the community, released as open-source or replaced with open-source alternatives almost all the encumbered code:
Beginning in December 2010, all the so-called binary plugs were replaced by open source replacements, making the entire JDK open.
GNU Classpath is the other main free software class library for Java. Contrary to other implementations, it only implements the Class Library, and is used by many free Java runtimes (like Kaffe, SableVM, JamVM).
Apache Harmony was another free software class library. Its aim was to implement the other parts of the Java stack (Virtual Machine, Compiler, and other tools required for any Java implementation).
| People | |
|---|---|
| View original on Wikipedia | Back | FazBrowse Home |