Title says it all. I want to have 2 versions of java on the same machine. For example 14.0.1.7
and 14.0.2.12
(which are both in EPEL7 repo).
If i install them one by one via yum
, yum will remove first version and keep just the last. If I install them via rpm
dependencies are resolved but not installed automatically. If i install first with yum
and second with rpm
then it works and it keeps both versions but rpm
won't install any additional dependencies if the pop out at some point and it would be cool to be able to do it via only one tool.
All mentioned java are OpenJDK; EPEL7 has these rolling packages (for example: java-14-openjdk-14.0.1.7-2.rolling.el7.x86_64
, java-14-openjdk-14.0.2.12-1.rolling.el7.x86_64
).
Any ideas?