Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for openjdk6-jre rpm for redhat 64bit.

I followed the instructions provided in the below site :

But when I try I am getting the below error:

[root@DCTXVM20 hita]# su -c "yum install java-1.6.0-openjdk"
Could not retrieve mirrorlist error was
[Errno 4] IOError:

Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

Any pointers where I can find the above rpm?


share|improve this question

migrated from Aug 23 '10 at 2:45

This question came from our site for professional and enthusiast programmers.

Try this: yum clean all

If that doesn't work, look here:

rpm --erase epel-release

and in case you don't have an epel-release package installed (it's included within Fedora 11 by accident), simply delete the epel.repo file.

EPEL is a repository for RHEL and/or CentOS.

PS: You really want to get "yum" working correctly.

But as a "Plan B" for getting the JDK, you can always try

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.