du får nok mere udaf at læse dette:
Installation of RPM File
Use these instructions if you want to install Java 2 SDK in the form of RPM packages. If you want to use the self-extracting binary file instead, see Self-Extracting Binary.
1. Check the download file size.
Before you download a file, notice that its byte size is provided on the download page. Once the download has completed, check that you have downloaded the full, uncorrupted software file.
2. Run j2sdk-1_4_0_<version number>-linux-i586-rpm.bin and agree to the license it displays.
Launch the executable file you downloaded, j2sdk-1_4_0_<version number>-linux-i586-rpm.bin, by using the following commands from the directory in which it is located:
chmod a+x j2sdk-1_4_0_<version number>-linux-i586-rpm.bin
./j2sdk-1_4_0_<version number>-linux-i586-rpm.bin
The script will display a binary license agreement, which you will be asked to agree to before installation can proceed. Once you have agreed to the license, the install script will create the file j2sdk-1_4_0_<version number>-linux-i586.rpm in the current directory.
3. Become root by running the su command and entering the super-user password.
4. Run the rpm command to install the Java 2 SDK packages:
rpm -iv j2sdk-1_4_0_<version number>-linux-i586.rpm
This will install the packages comprising the Java 2 SDK.
5. Exit the root shell.
kilde:
http://java.sun.com/j2se/1.4/install-linux.html