how to package jar file for module within another module java code example
Example: how to run module jar file in java
javac -d out --module-source-path src/main/java --module com.jenkov.mymodule
javac -d out --module-source-path src/main/java --module com.jenkov.mymodule