Can multiple major versions of java be installed on Red Hat Enterprise Linux?
Issue
- Can I install multiple
java
major versions onRed Hat Enterprise Linux
systems? - I want to install
java-1.8.0-openjdk.x86_64
andjava-11-openjdk.x86_64
packages onRHEL
, is it possible? - If I install multiple versions of
java
i.e.java-1.8.0-openjdk.x86_64
andjava-11-openjdk.x86_64
onRHEL
, which would be taken as default?
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.