[CentOS] CentOS 5 and Java

Shawn

javajunkie at koyuru.com
Mon Jun 11 04:32:02 UTC 2007


 
> 
> http://wiki.centos.org/HowTos/JavaOnCentOS
> 

didn't work exactly for me on x86_64

I had to use:
$ (echo config gpgcheck 0; echo localinstall java-1.5.0-sun*.rpm; echo run) > yum-cmd
(as root) #yum shell yum-cmd

to resolve some dependancies (libXp.x86_64 0:1.0.0-8
unixODBC-devel.x86_64 0:2.2.11-7.1
) that failed to get resolved using the centos howto's directions of:



Install the RPMs as user root: 

su -
cd /home/<username>/rpmbuild/RPMS/i586
rpm -Uvh java-1.5.0-sun-1.5.0.11-1jpp.i586.rpm
rpm -Uvh java-1.5.0-sun-alsa-1.5.0.11-1jpp.i586.rpm
rpm -Uvh java-1.5.0-sun-plugin-1.5.0.11-1jpp.i586.rpm

Shawn





More information about the CentOS mailing list