RFR: 8376684: Compile OpenJDK in headless mode without required X11 libraries

Thomas Devoogdt duke at openjdk.org
Fri Jan 30 07:44:10 UTC 2026


On Thu, 29 Jan 2026 21:46:17 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> This to support linux headless mode without X11. E.g. A headless server.
>
> I just updated the JBS issue with a couple of links. This is certainly not a new issue and there is an existing RFE to deal with the source code dependencies on X11.

@dholmes-ora @aivanov-jdk @prrace I can see that there are duplicated issues on this topic, and that regression is easy without proper testing, but is that a reason to not merge this kind of code? If new regressions occurs, then chances are big that someone will notice them, and push a new fix for it.

Yes, buildroot is a bit behind upstream JDK, but at least there we will see it. https://github.com/buildroot/buildroot/commit/3dd73c30d387b235589275bad729e66619d062c3 Other distributions might also be interested.

Are there actions needed on my side? Because that is not clear out of the reviews.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/28310#issuecomment-3822314701


More information about the client-libs-dev mailing list