Java Class Library

(Redirected from Java-based Library)
Jump to navigation Jump to search

A Java Class Library is a Software Library that can be accessed by a Java program.



    • QUOTE:The Java Class Library is a set of dynamically loadable libraries that Java applications can call at run time. 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 useful facilities, such as container classes and regular expressions.
      • 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.
      • 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.