Is There a JDK That Is Compiled Against libmusl on Alpine Linux? (Doc ID 2195570.1)

Last updated on DECEMBER 11, 2016

Applies to:

Java SE JDK and JRE - Version 8 and later
Other UNIX

Goal

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?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms