Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I having difficult time installing Sun's JDK on CentOS. The default installing with "yum" is "openJDK", but I need to install Sun's JDK. Is there easy instruction out there I can use or any suggestion?

share|improve this question

1 Answer

first, you'd download Sun JDK from that link . choose Linux version

Using your root account, or the sudo command, run the jdk-6u11-linux-i586-rpm.bin (chmod it if necessary). This will install Java packages.

then, try java -version in your terminal. also take a look at CentOS wiki about SunJDK

share|improve this answer
If you don't want JavaDB installed, try unzip jdk-6u26-linux-i586-rpm.bin jdk-6u26-linux-i586.rpm, then rpm -ivh jdk-6u26-linux-i586.rpm, this will install only JDK. – LiuYan 刘研 Jun 26 '11 at 19:16
I am getting "Package jdk-6u26-linux-i586.rpm is not signed" -- any ideas? – Joseph Weissman Aug 4 '11 at 14:43

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.