0
I have an Ec2 instance running CentOS 7.4.1 and I'm trying to install open JDK 8 onto it. This is the command I'm using to install Java:
sudo yum install java-1.8.0-openjdk-devel
It produces the following:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No package java-1.8.0-openjdk-devel available.
Error: Nothing to do
This site contains a list of the different rpm packages that are available for each distribution, CentOS 7.4 is not listed which leads me to believe that, that's why the above method did not work. Is it possible to install Open JDK 8 onto CentOS 7.4?
Can you please check that it is not excluded in
/etc/yum.conf
? Also please add the output ofyum list java-1.8.0-openjdk*
to your question. – Aulis Ronkainen – 2019-05-03T19:00:27.473I had checked the yum.conf prior but didn't specify in the post as I believed the issue was related to the actual java-1.8.0-openjdk-devel package. I found a solution. – Chris – 2019-05-07T16:29:31.623