[OpenJDK][Headless] Allow compilation without X11
Thomas Stüfe
thomas.stuefe at gmail.com
Fri Dec 5 11:34:26 UTC 2025
This makes sense to me. Thank you for your patch. I am not a GUI nor a Make
person; Adding Magnus for feedback.
On Wed, Dec 3, 2025 at 9:49 PM Thomas Devoogdt <thomas at devoogdt.com> wrote:
> Hi,
>
>
> Anyone out there?
>
>
> Kind regards,
>
> Thomas Devoogdt
>
> Op wo 26 nov 2025, 10:39 schreef Thomas Devoogdt <thomas at devoogdt.com>:
>
>> Hi all,
>>
>>
>> I'm trying to compile OpenJDK in headless mode without the required
>> X11 libraries.
>> This becomes more common in embedded systems, where e.g. no head is used
>> at all,
>> or where e.g. only wayland is available.
>>
>> For this, I proposed a patch in buildroot, see
>>
>> https://patchwork.ozlabs.org/project/buildroot/patch/20251115154030.1746780-1-thomas@devoogdt.com/
>> .
>> Buildroots policy is to upstream any custom patch when applicable, for
>> which I created
>> https://github.com/openjdk/jdk/pull/28310.
>>
>> The first question, is there any interest to support compilation
>> without X11 in headless mode?
>> If yes, who can create a formal "issue" and pick this up as my "sponsor"?
>>
>> If this PR gets merged, is there any interest to backport this to the
>> relevant LTS
>> distributions? Buildroot ships JDK with the somewhat outdated versions
>> 17 and 21?
>>
>>
>> Kind regards,
>>
>> Thomas Devoogdt
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/client-libs-dev/attachments/20251205/cf25068e/attachment-0001.htm>
More information about the client-libs-dev
mailing list