jlink / legal folder and LICENSE

Mandy Chung mandy.chung at oracle.com
Wed Jan 25 17:36:29 UTC 2017

> On Jan 25, 2017, at 3:08 AM, Alan Bateman <alan.bateman at oracle.com> wrote:
> On 25/01/2017 10:53, forax at univ-mlv.fr wrote:
>> :
>> I mean legal/java.base/LICENSE in jdk9.
> The EA builds that Oracle publishes on jdk9.java.net have a LICENSE file that links to the BCL on oracle.com. AFAIK, this link has not changed, it's not really something that we have any control of here.

Before jdk-9+136, the LICENSE file was in the top level JDK directory with the following content:
    Please refer to http://java.com/license

It was a bug. The EA builds are under a different click-through license [1] at download time and so it was removed in jdk-9+136.

> If you are building jdk9/dev yourself then I assume you get the LICENSE file that you looking for.
> When using jlink to create your own run-time images then the legal notices come from the packaged modules.

For OpenJDK build, legal/java.base/LICENSE contains OpenJDK license:
[1]] https://jdk9.java.net/download/

More information about the jigsaw-dev mailing list