This project aims to confirm accesiblity of each modules: unnamed
, automatic
and explicit
modules by using quick-start's example program.
unnamed
module: the ordinary JAR compiled by java 8 and specified by --class-pathautomatic
module: the ordinary JAR compiled by java 8 and specified by --module-pathexplicit
module: the modular JAR
- Linux
- Download Java 9 EA build 181+ and set
JAVA_9_HOME
to /path/java9 - Set
JAVA_8_HOME
to /path/java8
Yes.
You can confirm by bash ./ModularJAR_calls_OrdinaryJAR.sh
Yes.
You can confirm by bash ./OrdinaryJAR_calls_ModularJAR.sh
Note: The modules not required by other modules do not add to module-graphs. So, if you use the modules which are required by only automatic modules, use --add-modules to add to root modules.
Yes.
You can run with explicit module by using classpath as ./OrdinaryJAR_calls_ModularJAR.sh