I had to use "
yum install --enablerepo=fedora-debuginfo -y java-1.6.0-openjdk-debuginfo" instead of "yum install java-1.6.0-openjdk-debuginfo".