The Java module system is the greatest feature added in Java 9. A module groups related packages and resources and is described by a descriptor. The descriptor specifies the module’s name, lists its dependencies, and which of its packages are available to the external user.
This chapter discusses the Java module system and explains how to create Java modules, customize your own JRE and create a native deployer for Windows.
The Java module system traces its origin back to Project Jigsaw, the umbrella project for several JDK Enhancement Proposals (JEPs) to introduce modularity in Java. The project was complex and its scope was broad that it missed two JDK releases (JDK 7 and JDK 8) and was only included ...