Jlink: A Detailed Exploration
Jlink is a useful tool that comes with the JDK. Jlink allows you to produce an optimized image, improve start-up time, and distribute applications without having to install Java. You'll gain detailed knowledge of how to use all its features.
What you'll learn
JDK 9 brought a new tool, jlink, which allows us to link an application together into a custom image. This contains everything needed to run the application, so our users can just run it and won't need to install Java themselves. It also provides optimization benefits unavailable elsewhere. In this course, Jlink: A Detailed Exploration, you will learn how to use all the features of the Java jlink tool. First, you'll review modularity to understand how jlink fits, and discover its features and drawbacks. Next, you will learn how to use the tool to link a small example application. Finally, you will explore the different options and the plugins available. When you're finished with this course, you will have the skills and knowledge of jlink needed to use the tool successfully on your own Java application code.
Table of contents
- Introduction to Jlink Options 1m
- Linking Service Provider Modules 4m
- Introduction to the Service Provider Demo (One Module) 3m
- Demo Linking Service Providers in Different Modules 3m
- Options: Bind Services, Suggest Providers, and Limit Modules 2m
- Option: Endian 2m
- Bonus: Linking for a Different Target Platform 1m
- Options: Ignore Signing Information, Save Opts 2m