Type the javac command for multi-module compilation
Type the javac command for multi-module compilation
Answer
javac --module-source-path src -d out $(find src -name "*.java")
--module-source-path points to the directory containing the module directories. -d out sets the output root. javac infers module structure from the layout.