How to install java-jdk on centos 5.5?

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
BLUEPEPSi
Posts: 11
Joined: Mon Jul 19, 2010 4:26 am

How to install java-jdk on centos 5.5?

Post by BLUEPEPSi »

Hello,

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

Thanks.
User avatar
Raikkon35
Posts: 178
Joined: Sat Mar 08, 2008 2:54 pm

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

Post by Raikkon35 »

BLUEPEPSi
Posts: 11
Joined: Mon Jul 19, 2010 4:26 am

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

Post by BLUEPEPSi »

Tried it, didn't work. I am installing ubuntu now, it proved me that it's best at its job.
User avatar
Raikkon35
Posts: 178
Joined: Sat Mar 08, 2008 2:54 pm

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

Post by Raikkon35 »

In this case, this will help you a lot:

http://l2-adrenaline.com/linux/L2DCLinu ... elease.pdf
BLUEPEPSi
Posts: 11
Joined: Mon Jul 19, 2010 4:26 am

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

Post by BLUEPEPSi »

Yes, I already downloaded it. But could you reply to my other thread regarding U.S. private servers?
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

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

Post 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
BLUEPEPSi
Posts: 11
Joined: Mon Jul 19, 2010 4:26 am

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

Post by BLUEPEPSi »

I got this issue fix. All I had to do is run "yum install java"
borisP
Posts: 1
Joined: Sat May 21, 2011 1:29 pm

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

Post 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
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

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

Post 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 :)
Aka UnHoly
Post Reply