Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 625 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 625 Bytes

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.