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

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)