This makes sense to me, but then I wonder if the main class is specified in the module-info.class as some type of service or if you continue to specify that in the jar manifest.
Tom From: Remi Forax <fo...@univ-mlv.fr> To: jigsaw-dev <jigsaw-dev@openjdk.java.net> Date: 12/04/2016 01:01 PM Subject: java -jar should run in module mode if the jar is a mdular jar Sent by: "jigsaw-dev" <jigsaw-dev-boun...@openjdk.java.net> It seems there is no way to start a modular jar with java -jar ? java -jar should detect if a module-info.class is present and act accordingly. cheers, Rémi