gradle / gradle/foojay-toolchains

Plugin fails to consider the type of the C library for Linux distributions

Open
#5 12 comments 11 reactions 0 assignees View on GitHub
enhancement
Dominant language
Kotlin
Stars
217
Forks
26
Avg merge
1d 18h
Merged PRs (30d)
2

Description

At the moment the plugin is unable to determine the C library type for which it's supposed to provide JDKs.
This is a problem on Linux distributions because a JDK written for Alpine (ie. `musl` library) won't work on Ubuntu (i.e. `glibc` library).
For now all the plugin does is to prioritize `glibc` over `musl`, so it will work fine on Ubuntu and similar distributions, but won't work fine on Alpine.
Need to figure out a way to determine the exact library version the current JVM is running on.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.