Is There a JDK That Is Compiled Against libmusl on Alpine Linux?
(Doc ID 2195570.1)
Last updated on NOVEMBER 08, 2018
Applies to:Java SE JDK and JRE - Version 8 and later
A customer is moving some of their applications into Docker containers. As a base operating system they have settled on Alpine Linux. Alpine Linux uses libmusl instead of glibc as the C standard lib. At the moment the Linux JRE / JDK is only compiled against glibc.
As a consequence, the customer is forced to apply a workaround which is to install glibc besides libmusl on Alpine Linux. This workaround has some undesired side effects. For example, the Golang compiler thinks that it should link against glibc instead of libmusl.
Does Oracle have any plans to offer a Linux JRE/JDK compiled against libmusl?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document