Skip to main content

Creating Custom Runtime Images

  • Chapter
  • First Online:
Java 9 Revealed
  • 1459 Accesses

Abstract

Before JDK 9, Java runtime image was available as a huge monolithic artifact—thus increasing the download time, startup time, and the memory footprint. The monolithic JRE made it impossible to use Java on devices with small memory. If you deploy your Java applications to a cloud, you pay for the memory you use; most often, the monolithic JRE uses more memory than required, thus making you pay more for the cloud service. The Compact profiles introduced in Java 8 took a step forward to reduce the JRE size—hence the runtime memory footprint—by allowing you to package a subset of the JRE in a custom runtime image called a compact profile.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Kishori Sharan 2017, corrected publication 2018

About this chapter

Cite this chapter

Sharan, K. (2017). Creating Custom Runtime Images. In: Java 9 Revealed. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2592-9_7

Download citation

Publish with us

Policies and ethics