How to install JDK 8 on Red Hat Enterprise Linux 7.4

Latest response

Hi Guys,
I have just installed the Red Hat Enterprise Linux 7.4. I have login from root user.
I have tried this below command :
"yum install -y java-1.8.0-openjdk-devel"
but this above command gives me following message :
yum01

what should I do ?

Thanks,

Responses