Get Packages of a Module April 3, 2019 Java 9 has added the concept of module via Java Platform Module System. In order to obtain the names of packages from a module we can do it as follows: