Alan Bateman Alan.Bateman at
Wed Aug 24 11:00:41 UTC 2016

On 24/08/2016 11:41, Paul Bakker wrote:

> Hello,
> When compiling code that uses classes from java.xml.bind, it is necessary to explicitly pass "-addmods java.xml.bind" to javac. Looking at the JDK module graph [1], I get the impression that javac uses <> by default. Is this correct?
> Paul
> [1] <>
If you are compiling code in the unnamed module then you will need 
-addmods (or `--add-modules` with the new style). Ditto for runtime when 
the main class is loaded from the class path. All the details are in JEP 
261, specifically the section on "Root modules" [1].



More information about the jigsaw-dev mailing list