JEP 311: Java Packager API & CLI

Michael Hall mik3hall at gmail.com
Fri Oct 20 08:53:21 UTC 2017


> On Oct 20, 2017, at 1:51 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 
> On 19/10/2017 22:37, Michael Hall wrote:
>> :
>> Thanks. I couldn’t figure out how to use it with the current javapackager. It turned out I needed —add-modules, I’m new to modular concerns.
>> This was for JShell. It also seemed that this needed a java executable in the bin directory. I added that manually and was able to use JShell from a OS X java 9 application.
>> 
> I realize this is going off-topic but can you elaborate more on this. There should never be a need to copy binaries into the bin directory. The jdk.jshell module includes `jshell` launcher for example.

Going back to this. You are saying that using the module launcher would of avoided the exceptions in my last post? Where is this documented?


More information about the jdk-dev mailing list