One of the open source web crawlers (Heritrix) requires Java to run. I have to install this on my CENTOS via the command line (aptitude). How?
Here is a list of good HOWTOs for Java on Centos.
BTW, CentOS' package manager is called
yum. It generally works like
yum search $packagename
yum install $packagename
yum remove $packagename