By Tori Wieldt-Oracle on Aug 27, 2014
Java 8 introduces the concept of Compact Profiles, which are reduced versions of the Java runtime environment (JRE) that do not contain the usual full contents of rt.jar. In the technical article "Exploring Java 8 Profiles," Java expert Ben Evans explores the advantages of using Compact Profiles and how they point the way toward a modular future for the JDK.
As Evans explains, reducing the size of the Java platform footprint and moving to a modular view of the JDK, can create great benefits:
- Faster Java Virtual Machine (JVM) startup times
- Reduced resource consumption
- Removal of packages that, in hindsight, shouldn’t be in the core
- Improved security, because removing unused classes reduces the attack surface of the platform
- Convergence of the Java ME Connected Device Configuration (CDC) with Java SE
Java 8 Compact Profiles represent a significant step toward future goals for the platform—both in terms of embedded (or capability-restricted) development and also for server-side developers. Read "Exploring Java 8 Profiles" to learn more.