[CentOS] How do I Install Java on CentOS 4

Sat Oct 21 04:12:00 UTC 2006
Aleksandar Milivojevic <alex at milivojevic.org>

Samuel wrote:
> Okay, I have a Java from sun but I have absolutely no idea how to
> install it.

As root:

# sh jdk-1_5_0_09-linux-i586-rpm.bin

That will unpack the RPM, ask you to accept license agreement, and 
finally install RPM.  This assumes you downloaded JDK without additional 
components.

After it is installed, simply download and install 
java-1.5.0-sun-compat-1.5.0.09-1jpp RPM from www.jpackage.org.  And you 
are set.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20061020/ebf578ae/attachment-0004.sig>