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.