By Scott Hommel-Oracle on Mar 25, 2014
Compact Profiles contain predefined subsets of the Java SE platform and enable applications that do not require the entire platform to be deployed and run on small devices. Developers can choose the appropriate profile based on the resources of the target hardware. The following profiles are available in Java SE 8:
compact1: Smallest set of API packages without omitting classes. Logging and SSL are included. See Profile compact1 for a list of the packages, classes, and interfaces that are included.
compact2: Includes everything in
compact1plus XML, JDBC and RMI. See Profile compact2 for a list of the packages, classes, and interfaces that are included.
compact3: Includes everything in
compact2plus management, naming, more security, and the compiler API. See Profile compact3 for a list of the packages, classes, and interfaces that are included.
For more information about compact profiles, see the following resources:
Compact Profiles provides an overview of the profiles.
The screencast Developing Embedded Apps with Java SE 8 Compact Profiles describes how to choose the best profile to help optimize the static size footprint of your embedded target platform or device.
Java 8 Launch has screencasts that describe the feature.
See What's New in JDK 8 for information about other new features in JDK 8.