# Java 9 Jigsaw Example

**[Example 1](https://github.com/annimon-tutorials/Java-9-Jigsaw-Example/tree/example-1): Direct dependency**. Shows how to add simple library dependency in modular way.

**[Example 2](https://github.com/annimon-tutorials/Java-9-Jigsaw-Example/tree/example-2): Services and ServiceLoader**. Shows how to load module's services with `ServiceLoader`.

**[Example 3](https://github.com/annimon-tutorials/Java-9-Jigsaw-Example/tree/example-3): Modules and resources**. Shows how to share resources in modules.

**[Example 4](https://github.com/annimon-tutorials/Java-9-Jigsaw-Example/tree/example-2): Automatic module**. Shows how to deal with existing non-modular jar.
# Java 9 Jigsaw Example

**[Example 1](https://github.com/annimon-tutorials/Java-9-Jigsaw-Example/tree/example-1): Direct dependency**. Shows how to add simple library dependency in modular way.

**[Example 2](https://github.com/annimon-tutorials/Java-9-Jigsaw-Example/tree/example-2): Services and ServiceLoader**. Shows how to load module's services with `ServiceLoader`.

**[Example 3](https://github.com/annimon-tutorials/Java-9-Jigsaw-Example/tree/example-3): Modules and resources**. Shows how to share resources in modules.

**[Example 4](https://github.com/annimon-tutorials/Java-9-Jigsaw-Example/tree/example-4): Automatic module**. Shows how to deal with existing non-modular jar.

Fix link to example 4
Fix link to example 4