Defines the foundational APIs of the Java SE Platform.
Exports Package Description java.ioProvides for system input and output through data streams, serialization and the file system. java.langProvides classes that are fundamental to the design of the Java programming language. java.lang.annotationProvides library support for the Java programming language annotation facility. java.lang.invokeThe
java.lang.invokepackage contains dynamic language support provided directly by the Java core class libraries and virtual machine.
java.lang.moduleClasses to support module descriptors and creating configurations of modules by means of resolution and service binding. java.lang.refProvides reference-object classes, which support a limited degree of interaction with the garbage collector. java.lang.reflectProvides classes and interfaces for obtaining reflective information about classes and objects. java.mathProvides classes for performing arbitrary-precision integer arithmetic (
BigInteger) and arbitrary-precision decimal arithmetic (
java.netProvides the classes for implementing networking applications. java.net.spiService-provider classes for the
java.nioDefines buffers, which are containers for data, and provides an overview of the other NIO packages. java.nio.channelsDefines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations. java.nio.channels.spiService-provider classes for the
java.nio.charsetDefines charsets, decoders, and encoders, for translating between bytes and Unicode characters. java.nio.charset.spiService-provider classes for the
java.nio.fileDefines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems. java.nio.file.attributeInterfaces and classes providing access to file and file system attributes. java.nio.file.spiService-provider classes for the
java.securityProvides the classes and interfaces for the security framework. java.security.aclThe classes and interfaces in this package have been deprecated. java.security.certProvides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. java.security.interfacesProvides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST's FIPS-186. java.security.specProvides classes and interfaces for key specifications and algorithm parameter specifications. java.textProvides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. java.text.spiService provider classes for the classes in the java.text package. java.timeThe main API for dates, times, instants, and durations. java.time.chronoGeneric API for calendar systems other than the default ISO. java.time.formatProvides classes to print and parse dates and times. java.time.temporalAccess to date and time using fields and units, and date time adjusters. java.time.zoneSupport for time-zones and their rules. java.utilContains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). java.util.concurrentUtility classes commonly useful in concurrent programming. java.util.concurrent.atomicA small toolkit of classes that support lock-free thread-safe programming on single variables. java.util.concurrent.locksInterfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors. java.util.functionFunctional interfaces provide target types for lambda expressions and method references. java.util.jarProvides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. java.util.regexClasses for matching character sequences against patterns specified by regular expressions. java.util.spiService provider classes for the classes in the java.util package. java.util.streamClasses to support functional-style operations on streams of elements, such as map-reduce transformations on collections. java.util.zipProvides classes for reading and writing the standard ZIP and GZIP file formats. javax.cryptoProvides the classes and interfaces for cryptographic operations. javax.crypto.interfacesProvides interfaces for Diffie-Hellman keys as defined in RSA Laboratories' PKCS #3. javax.crypto.specProvides classes and interfaces for key specifications and algorithm parameter specifications. javax.netProvides classes for networking applications. javax.net.sslProvides classes for the secure socket package. javax.security.authThis package provides a framework for authentication and authorization. javax.security.auth.callbackThis package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example). javax.security.auth.loginThis package provides a pluggable authentication framework. javax.security.auth.spiThis package provides the interface to be used for implementing pluggable authentication modules. javax.security.auth.x500This package contains the classes that should be used to store X500 Principal and X500 Private Credentials in a Subject. javax.security.certProvides classes for public key certificates.