Java 17 does not satisfy the Java 11 dependency for log4j 2.17.1

"Farrell, James" <[email protected]> Wed, 12 Apr 2023 19:37:12 +0000
Newsgroups gmane.comp.jakarta.log4j.user
Message-ID <SA1P110MB1342829E21A20FADA8EFDBC0879B9@SA1P110MB1342.NAMP110.PROD.OUTLOOK.COM>
Hello,

I'm trying to install log4j 2.17.1 on RHEL 8.7 running Java 17, but rpm is reporting an error stating that Java 11 is a required dependency to run log4j. Is there a reason why Java 17 doesn't satisfy the Java 11 dependency? Any way I can get log4j to install running Java 17? I am running an environment that requires Java 17 so I am unable to use a different version, and I prefer not to run multiple versions of Java on this system if possible.

Thank you,

James Farrell