Re: -jar option and the modulepath

2018-11-24 Thread Alan Bateman
On 23/11/2018 19:51, Scott Palmer wrote: I’m curious how this relates to the -m or —module option. I had though it looked like the module equivalent of the -jar option. The argument to --module/-m is a (or /), not a JAR file. I'm sure the topic of executable modular JARs files be back on the

Re: -jar option and the modulepath

2018-11-23 Thread Scott Palmer
I’m curious how this relates to the -m or —module option. I had though it looked like the module equivalent of the -jar option. Cheers, Scott > On Nov 23, 2018, at 12:41 PM, Richard Hillegas wrote: > > Thanks, Alan. > > On 11/23/18 12:06 AM, Alan Bateman wrote: >> On 22/11/2018 19:27,

Re: -jar option and the modulepath

2018-11-23 Thread Richard Hillegas
Thanks, Alan. On 11/23/18 12:06 AM, Alan Bateman wrote: On 22/11/2018 19:27, Richard Hillegas wrote: Can I scribble something in a jar file manifest which will cause "java -jar" to boot with a modulepath rather than a classpath? I do not see any support for a modulepath attribute in the Java

Re: -jar option and the modulepath

2018-11-23 Thread Alan Bateman
On 22/11/2018 19:27, Richard Hillegas wrote: Can I scribble something in a jar file manifest which will cause "java -jar" to boot with a modulepath rather than a classpath? I do not see any support for a modulepath attribute in the Java 9 jar file documentation at

-jar option and the modulepath

2018-11-22 Thread Richard Hillegas
Can I scribble something in a jar file manifest which will cause "java -jar" to boot with a modulepath rather than a classpath? I do not see any support for a modulepath attribute in the Java 9 jar file documentation at https://docs.oracle.com/javase/9/docs/specs/jar/jar.html. My sense is