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?

link|improve this question
feedback

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

link|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
feedback

Your Answer

 
or
required, but never shown

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