Yum install not recognizing specific version of JDK package on Oracle Linux 7.9
0
votes
2
answers
1091
views
I am trying to install jdk 1.8.0_311 using yum install. However, I am getting an error stating that there is "nothing to do" when attempting to install.
I have used
yum --showduplicates list jdk*
to check that the package is there
jdk-20-headful.aarch64 2000:20.0.1-9.el7 ol7_oci_included
jdk-20-headless.aarch64 2000:20-36.el7 ol7_oci_included
jdk-20-headless.aarch64 2000:20.0.1-9.el7 ol7_oci_included
jdk1.8.aarch64 2000:1.8.0_301-fcs ol7_oci_included
jdk1.8.aarch64 2000:1.8.0_311-fcs ol7_oci_included
jdk1.8.aarch64 2000:1.8.0_331-fcs ol7_oci_included
jdk1.8.aarch64 2000:1.8.0_341-fcs ol7_oci_included
jdk1.8.aarch64 2000:1.8.0_351-fcs ol7_oci_included
I then attempted to run
yum install jdk1.8.aarch64-2000:1.8.0_311-fcs
and I get the error "Nothing to do"
yum install jdk1.8.aarch64-2000:1.8.0_311-fcs
Loaded plugins: langpacks, ulninfo
No package jdk1.8.aarch64-2000:1.8.0_311-fcs available.
Error: Nothing to do
According to the documentation, this is the correct way to install this, but it is not recognizing the package. If i do not specify the version, it defaults to a newer version (351) that I cant use.
Any help is appreciated, thanks.
Asked by Howdy
(3 rep)
May 7, 2023, 08:33 PM
Last activity: Oct 19, 2023, 12:58 PM
Last activity: Oct 19, 2023, 12:58 PM