© Kishori Sharan 2017

Kishori Sharan, Java 9 Revealed, 10.1007/978-1-4842-2592-9_2

2. The Module System

Kishori Sharan

(1)Montgomery, Alabama, USA

In this chapter, you will learn:

  • How the Java source code used to be written, packaged, and deployed prior to JDK 9 and the underlying issues with that approach

  • What a module is in JDK 9

  • How to declare modules and their dependencies

  • How to package modules

  • What a module path is

  • What observable modules are

  • How to print the list of observable modules

  • How to print the description of a module

This chapter is meant to give you a brief conceptual overview of the module system introduced in JDK 9. Subsequent chapters cover all these concepts in detail, with examples. Don’t worry if you do not understand all module-related ...

Get Java 9 Revealed: For Early Adoption and Migration now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.