RHEL8 system component requiring java does not recognize JDK17 install
Issue
- Running RHEL 8 with OpenJDK 17 installed, some packages such as
log4j 2.17.1fail to install becausejava-headlessorjava-11-headlessis a dependency. Is there any way to get packages with this dependency to work with JDK 17 without installing an older version of JDK?
Environment
- Red Hat Enterprise Linux (RHEL) 8
- OpenJDK 17
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.