Alpine Linux on x64 and AArch64

Mikael Vidstedt mikael.vidstedt at oracle.com
Sun May 16 22:00:57 UTC 2021


OpenJDK is a source project which does not deliver binaries. JEP 386 added the necessary source code support for the Alpine/musl port to mainline JDK. Different vendors or individuals can take that source code and create JDK binaries from it. Some of those binaries end up published on various web sites.

jdk.java.net<http://jdk.java.net/> is where Oracle publishes GPL licensed JDK binaries (built by Oracle). Oracle does not build or support all the different ports that are available in the OpenJDK project. We have for some time been publishing early access binaries of the Alpine/musl port, but have not elected to include the port in the set of binaries we publish as part of the GA and provide updates for. The cost of building, testing, and maintaining a port over time is non-zero and so far the interest in the port has not been high enough to motivate that investment. If there is sufficient interest in Oracle providing such a port we may reconsider that.

Cheers,
Mikael

On May 14, 2021, at 2:41 AM, COURTAULT Francois <francois.courtault at thalesgroup.com<mailto:francois.courtault at thalesgroup.com>> wrote:

Hello Aleksei,

This is something I don't get.
If the code linked to JEP 386 includes in OpenJDK 16, is production ready (contradictory with the sentence "Alpine Linux Build is not included in JDK 16 because it isn't enough mature for production.") , why this build is not available at  http://jdk.java.net/16/ ?

Best Regards.

-----Original Message-----
From: portola-dev <portola-dev-retn at openjdk.java.net<mailto:portola-dev-retn at openjdk.java.net>> On Behalf Of Aleksei Voitylov
Sent: vendredi 14 mai 2021 01:00
To: Lilian BENOIT <lilian.benoit at lbenoit.fr<mailto:lilian.benoit at lbenoit.fr>>
Cc: portola-dev at openjdk.java.net<mailto:portola-dev at openjdk.java.net>
Subject: Re: Alpine Linux on x64 and AArch64

Hi Lilian,

the code integrated in OpenJDK project source code as part of JEP 386 into JDK 16 is production ready, otherwise it would not have been integrated. It's possible to build OpenJDK for Alpine Linux with the provided instructions [1] or find an OpenJDK distribution that provides pre-built binaries for the target architecture of your choice.

Thanks,

-Aleksei

[1] https://openjdk.java.net/groups/build/doc/building.html

On 10/05/2021 18:51, Lilian BENOIT wrote:
Hi everyone,

In JEP 386, Alpine Linux Port, this summary is "Port the JDK to Alpine
Linux, and to other Linux distributions that use musl as their primary
C library, on both the x64 and AArch64 architectures"

Alpine Linux Build is not included in JDK 16 because it isn't enough
mature for production. (cf. notes on http://jdk.java.net/16/)

This build is available on JDK 17 => Alpine Linux / x64

But should it not available too on Alpine Linux / AArch64 build ?

Is it on future ?

Best Regards,
Lilian BENOIT.



More information about the portola-dev mailing list