JDK9 Modules

Malachi de Ælfweald malachid at gmail.com
Wed Jul 13 17:35:00 UTC 2016


Ah, makes sense.

I brought this up to them.
They have updated the PPA (
https://launchpad.net/~webupd8team/+archive/ubuntu/java) to specify that it
is using the regular JDK not the jigsaw build; with a link to the jigsaw
build.



Malachi de Ælfweald
http://www.google.com/profiles/malachid

On Tue, Jul 12, 2016 at 11:05 PM, Alan Bateman <Alan.Bateman at oracle.com>
wrote:

> On 12/07/2016 22:24, Malachi de Ælfweald wrote:
>
> I notice that with 9-ea+125-2016-07-06-073258.javare.5251.nc, this works:
> --add-modules=ALL-SYSTEM --add-exports=java.base/sun.nio.ch=ALL-UNNAMED
>
> With a slightly newer 9-ea+126 from webupd8, it causes:
> Unrecognized option: --add-modules=ALL-SYSTEM
>
> Do we need to ask that the WebUpd8 team build with a slightly different
> command line?
>
> I don't know what webupd8 is but I assume you were testing with a Jigsaw
> EA builds [1] and have now switched to a regular JDK 9 download [2]. Yeah,
> it is confusing to have two downloads but having builds of the sandbox has
> been useful to try things. The Jigsaw EA downloads have the support for GNU
> style command line options and that support is in the VM too (that is why
> you have been able to use them with _JAVA_OPTIONS). We have not brought
> these changes into the JDK 9 main line yet so the main line is still on the
> old options (-addmods, -XaddExports, ...). We expect to bring the GNU style
> module options into JDK 9 in the coming weeks (exact build is TBD).
>
> -Alan
>
> [1] https://jdk9.java.net/jigsaw/
> [2] https://jdk9.java.net/download/
>
>


More information about the jigsaw-dev mailing list