Openjdk profiles

Alan Bateman Alan.Bateman at oracle.com
Wed Jul 8 11:48:25 UTC 2015


On 08/07/2015 12:45, GAUVIN Florian wrote:
> Hi,
> For a project I have to build OpenJDK with buildroot. The goal is to have an image as small as possible. So my question is, does there is a make option to build only one compact profile (compact1, compact2 or compact3) of Openjdk.
> Regards,
> Gauvin Florian
>
Not currently but it would be hard to patch the make files to just build 
a specific compact profile image if you wanted.

Once we get support for modules into JDK 9 then you will have the linker 
tool to try as this will allow you to create run-time images with the 
minimum set of modules that you want to include.

-Alan.



More information about the build-dev mailing list