

The Java Class Library (rt.jar) is located in the default bootstrap classpath and does not have to appear in the classpath declared for the application.
#Netbeans with jdk archive
The classes that give access to these functions commonly use Java Native Interface wrappers to access operating system APIs.Īlmost all of JCL is stored in a single Java archive file called "rt.jar" which is provided with JRE and JDK distributions. JCL is almost entirely written in Java, except for the parts that need direct access to the hardware and operating system (such as for I/O or bitmap graphics). In these cases, the library implementation can either emulate those features or provide a consistent way to check for the presence of a specific feature. Some underlying platforms may not support all of the features a Java application expects.The library provides an abstract interface to tasks that would normally depend heavily on the hardware and operating system, such as network access and file access.Like other standard code libraries, they provide the programmer a well-known set of useful facilities, such as container classes and regular expression processing.JCL serves three purposes within the JVM: Instead, the Java Platform provides a comprehensive set of standard class libraries, containing the functions common to modern operating systems. Because the Java Platform is not dependent on a specific operating system, applications cannot rely on any of the platform-native libraries.

The Java Class Library ( JCL) is a set of dynamically loadable libraries that Java Virtual Machine (JVM) languages can call at run time. JSTOR ( August 2011) ( Learn how and when to remove this template message).

Unsourced material may be challenged and removed.įind sources: "Java Class Library" – news Please help improve this article by adding citations to reliable sources. This article needs additional citations for verification.
