7

I want to install sun jdk 6 on RHEL 4.x using yum install java-1.6.0-sun-devel but found that I have to subscribe to supplementary server channel. How do I do that?

Thanks in Advance!

mssrivatsa
  • 343
  • 1
  • 3
  • 10

1 Answers1

4

Add the supplementary channel/repository:

yum-config-manager --enable rhel-6-server-supplementary

Check that the needed package is available and install:

yum list *-sun-devel
yum install java-1.6.0-sun-devel
John Mayor
  • 577
  • 6
  • 13
  • 2
    I wonder why this answer has been downvoted. I rechecked and it still works. Obviously, you need to be root or have sudo rights to run these commands, maybe the downvoter didn't have those. – John Mayor Sep 12 '14 at 15:19