Skip to content

WouterOet/Java9ModuleExamples

Repository files navigation

Java 9 module examples

nl.quintor.java9.exports

The most basic example. Exports a single class. Requires none.

nl.quintor.java9.requires

A very basic example. Exports nothing and requires one module.

Compilation and running of the examples

You can compile each module separately with:

javac -d dist/ -mp dist $(find -name *.java)

Or compile them all at onces with:

javac -d dist --module-source-path . $(find . -name "*.java")

The examples in the migration and illegal directories have additional info in their readme's. Usually you can compile and run them by invoking ./run.sh.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published