Page 1 of 1

How to install java-jdk on centos 5.5?

Posted: Tue Jul 20, 2010 11:38 am
by BLUEPEPSi
Hello,

Can someone please take the time and explain to me how do you install java-jdk on centos 5.5?

Thanks.

Re: How to install java-jdk on centos 5.5?

Posted: Tue Jul 20, 2010 11:44 am
by Raikkon35

Re: How to install java-jdk on centos 5.5?

Posted: Wed Jul 21, 2010 5:10 am
by BLUEPEPSi
Tried it, didn't work. I am installing ubuntu now, it proved me that it's best at its job.

Re: How to install java-jdk on centos 5.5?

Posted: Wed Jul 21, 2010 6:20 am
by Raikkon35
In this case, this will help you a lot:

http://l2-adrenaline.com/linux/L2DCLinu ... elease.pdf

Re: How to install java-jdk on centos 5.5?

Posted: Wed Jul 21, 2010 6:33 am
by BLUEPEPSi
Yes, I already downloaded it. But could you reply to my other thread regarding U.S. private servers?

Re: How to install java-jdk on centos 5.5?

Posted: Wed Jul 21, 2010 8:17 am
by MELERIX
if I'm not bad... CentOS can use RPM packages, so just download the RPM from Java website and install with double click like in Windows, thats all :P

Re: How to install java-jdk on centos 5.5?

Posted: Thu Jul 22, 2010 8:41 am
by BLUEPEPSi
I got this issue fix. All I had to do is run "yum install java"

Re: How to install java-jdk on centos 5.5?

Posted: Sat May 21, 2011 1:33 pm
by borisP
Not really, yum install java will give you the OpenJDK which will not work in some cases (e.g. Tomcat 7).
However, installing Java from Oracle is as easy.
Here is a one page tutorial that will help you get the job done in 1 minute :)
http://thecoolserver.blogspot.com/2011/ ... -java.html

Re: How to install java-jdk on centos 5.5?

Posted: Mon May 23, 2011 4:48 pm
by badboy29
If you use terminal:

Code: Select all

wget http://download.oracle.com/otn-pub/java/jdk/6u25-b06/jdk-6u25-linux-x64-rpm.bin
when finish download:

Code: Select all

chmod +x jdk-6u25-linux-x64-rpm.bin

Code: Select all

./jdk-6u25-linux-x64-rpm.bin

Code: Select all

rpm -Uvh jdk-6u25-linux-x64.rpm


That's all :)