I\'ve created what I\'m pretty sure is a modular jar file. But if possible, I\'d like to double check. Given a jar file, is there a way to determine what modules the compiler wo
You can list the modules within the jar using the following java tool command:-
java -p yourModular.jar --list-modules
Edit: You shall preferably make use of the jar command lin as suggested in @Alan's answer.
jar