JCL Features are accessed through
classes provided in
packages. • contains fundamental classes and
interfaces closely tied to the language and
runtime system. •
I/O and
networking access the platform
file system, and more generally
networks through the , and packages. For networking,
SCTP is available through . •
Mathematics package: provides mathematical expressions and evaluation, as well as arbitrary-precision decimal and integer number datatypes. •
Collections and Utilities : built-in Collection
data structures, and utility classes, for
regular expressions,
concurrency,
logging and
data compression. •
GUI and
2D Graphics: the
AWT package () basic GUI operations and binds to the underlying native system. It also contains the 2D Graphics API. The
Swing package () is built on AWT and provides a platform-independent
widget toolkit, as well as a
pluggable look and feel. It also deals with editable and non-editable text components. • Sound: interfaces and classes for reading, writing,
sequencing, and
synthesizing of sound data. • Text: deals with text, dates, numbers and messages. • Image package: and provide APIs to write, read, and modify images. •
XML:
SAX,
DOM,
StAX,
XSLT transforms,
XPath and various APIs for
Web services, as
SOAP protocol and
JAX-WS. • Security is provided by and encryption services are provided by . •
Databases: access to
SQL databases via • Access to Scripting engines: The package gives access to any conforming
Scripting language. •
Applets: allows applications to be downloaded over a network and run within a guarded sandbox •
Java Beans: provides ways to manipulate reusable components. • Introspection and reflection: [https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html ] represents a class, but other classes such as Method and Constructor are available in .
Packages outside of the main namespace Java bundles some packages outside of the main namespaces (java.*, javax.*, and jdk.*). Among these include: • com.sun.*: some internal packages originally developed by
Sun Microsystems, for
HotSpot VM,
abstract syntax tree, Java Debug Interface, and HTTP servers. • netscape.javascript.*: classes for accessing the
JavaScript engine and HTML DOM in the web browser. Deprecated in Java 24, for eventual moving to
JavaFX. • org.ietf.jgss.*:
Generic Security Service API as specified by the
Internet Engineering Task Force. • org.omg.*:
Object Management Group packages, such as
Common Object Request Broker Architecture (CORBA) features. Deprecated since Java 9, removed since Java 11. • org.w3c.dom.*:
Document Object Model packages as specified by the
World Wide Web Consortium. • org.xml.sax.*:
Simple API for XML packages related to
XML.
Implementation packages The sun.* (which contains the
sun.misc.Unsafe class, used to manipulate the CPU and hardware, directly manage memory, and other things) and other com.sun.* packages are all part of a module called jdk.unsupported. This module contains packages not part of the Java standard library but bundled as part of the Java implementation. ==Licensing==