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?
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.