rhel8: 'tomcat' and 'ant' require Java8 even though newer java is installed

Solution Unverified - Updated -

Issue

When installing packages tomcat or ant on RHEL8.8, then Java8 is pulled in via dependencies, even though Java 17 is already installed.

There is a bugzilla, Bug 2173874 - Tomcat installs older java even though newer java is installed. It looks the issue already reported and will be resolved in the future tomcat version.

We are hereby asking the same for ant.

Which java versions are actually supported to be used with the tomcat package in RHEL?

Environment

  • Red Hat Enterprise Linux (RHEL) 8
  • Java
  • ant

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content