How-to Build Custom Java Runtimes with Jlink

*Jlink* is a powerful tool in the JDK for creating custom runtimes based on the modules an application needs to run. In this video, we will introduce the key concepts and benefits of using jlink and go through five steps covering the key features used when creating a custom runtime. The code used in this video can be found in this Github Repo ➱ *Chapters* 0:00 intro 1:11 Basics of jlink 2:35 Using JDeps 3:43 Adding Non-JDK Modules to an Image 5:25 Adding Explicit Modules to an Image 7:26 Additional Image Customization Options 8:44 Conclusion *Resources* - The jlink Command ➱ - jlink tutorial ➱ - Overview of “almost all“ Java modules published at Maven Central ➱ - ➱ - ➱ *Tags* #Java #Cloud #OpenJDK #JDK #JVM #InsideJava
Back to Top