Can I install multiple versions of java on a Red Hat Enterprise Linux system?
Issue
- Can I install multiple Java major versions on a Red Hat Enterprise Linux system?
- I want to install OpenJDK 1.7 and OpenJDK 1.8 on RHEL? Is it possible?
- If I install multiple versions of Java i.e
java-1.8.0-openjdkandjava-1.7.0-openjdkon RHEL, which would be taken as default?
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 6
- OpenJDK/Oracle/IBM Java
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
