Spring Boot Tip: Set BP_JVM_JLINK_ENABLED to true to create more efficient runtime images.

Home » Blog » Software » Enterprise Software » Spring Boot Tip: Set BP_JVM_JLINK_ENABLED to true to create more efficient runtime images.

Martin Hock recently published this tiny but useful Spring Boot tip on how to minimise the Java runtime dependencies included in your Spring Boot application builds:

For reference, here’s the relevant configuration snippet for your project’s pom.xml and more detailed documentation on how to install a minimal JRE with JLink:

About the author: Bjoern
Independent IT consultant, entrepreneur

Leave a Comment