Re: java -jar should run in module mode if the jar is a mdular jar

2016-12-06 Thread Remi Forax
- Mail original - > De: "mark reinhold" > À: "Thomas Watson" > Cc: jigsaw-dev@openjdk.java.net > Envoyé: Lundi 5 Décembre 2016 18:04:43 > Objet: Re: java -jar should run in module mode if the jar is a mdular jar > 2016/12/5 6:15:48 -0800, tjwat...

Re: java -jar should run in module mode if the jar is a mdular jar

2016-12-05 Thread mark . reinhold
2016/12/5 6:15:48 -0800, tjwat...@us.ibm.com: > This makes sense to me, I agree that it makes sense, though it does take away the ability to run a modular JAR easily as an unnamed module -- I don't know how important that is to anyone. > but then I wonder if the main class

Re: java -jar should run in module mode if the jar is a mdular jar

2016-12-05 Thread Thomas Watson
module mode if the jar is a mdular jar Sent by:"jigsaw-dev" 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

java -jar should run in module mode if the jar is a mdular jar

2016-12-04 Thread Remi Forax
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