D. --module Here's why the other options are not for creating a modular JAR: A. -cp : This option specifies the classpath for the compiler to find dependencies. It's not used for creating modular JARs. B. --module-source : This option specifies the module source version. While important for modules, it doesn't directly control JAR creation C. -module-path : This option specifies the module path for the compiler to find modules. It's not used for creating a modular JAR, but for resolving dependencies during compilation. Explanation: The --module argument instructs the javac compiler to treat the compiled classes as part of a module named . This is the key step for creating a modular JAR file. After compilation with this option, you can use the jar command to create a JAR file that includes the module information. Here's a typical workflow for creating a modular JAR: Compile your source code with javac --module MyJavaClass.java. Use the jar command to create the JAR file with module information (e.g., jar --create --file my- module.jar -C .).