How to install multiple minor versions of OpenJDK on a Red Hat Enterprise Linux system?

Solution Verified - Updated -

Issue

  • Is it possible to install multiple minor versions of OpenJDK using the rpm packaging system?

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 7
    • 8
    • 9
  • OpenJDK
    • 1.6
    • 1.7
    • 1.8
    • 11
    • 17

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