No description, website, or topics provided.
Shell Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Java 9 modules - the simplest example

It's the simplest example of using java modules. The repo was created for the purpose of the article Quick introduction to Java 9 modularization and contains two modules and pl.tfij.java9modules.greetings. The first one has a dependency to the second one. Each module contains only one class with a one single-line method.

Included scripts allow to easily run the code. To compile the code just start a script. Then execute the to build jar files. Finally run to start the main class from the module.

Additionally, builds executable pack which contains only required java libs (compile and package the code using and before running this script). A script '' launches main class from this pack. The result is the same as running a script.