java -jar should run in module mode if the jar is a mdular jar
Thomas Watson
tjwatson at us.ibm.com
Mon Dec 5 14:15:48 UTC 2016
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 <forax at univ-mlv.fr>
To: jigsaw-dev <jigsaw-dev at 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-bounces at 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
More information about the jigsaw-dev
mailing list