标签: linux install java redhat sun
我想在RHEL 4.x上安装sun jdk 6 yum install java-1.6.0-sun-devel但发现我必须订阅补充服务器频道。我该怎么做?
yum install java-1.6.0-sun-devel
提前致谢!
答案 0 :(得分:3)
添加补充渠道/存储库:
yum-config-manager --enable rhel-6-server-supplementary
检查所需的包是否可用并安装:
yum list *-sun-devel yum install java-1.6.0-sun-devel