© Alexandru Jecan  2017

Alexandru Jecan, Java 9 Modularity Revealed, https://doi.org/10.1007/978-1-4842-2713-8_7

7. Jlink: The Java Linker

Alexandru Jecan

(1)Munich, Germany

Throughout the software development process, we may encounter situations in which we need targeted Java Runtime Environments (JREs) for the operating system we’re using. The reasons for this are various: we may want to achieve a better degree of performance or we may have some customized libraries that only work on a specific operating system.

For instance, when using microservices, we may not want to use the entire JDK, but rather just a part of it. Microservices are small and typically don’t use libraries from the whole JDK.

Jlink helps solve these problems by creating a customized, ...

Get Java 9 Modularity Revealed: Project Jigsaw and Scalable Java Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.