Derrick
11-02-2011, 12:14 PM
Go to the java website (http://www.java.com/en/download/manual.jsp?locale=en&host=www.java.com) and download the appropriate package
Become the root user by running the su command and entering the super-user password.
At the terminal: Type:
su
Enter the root password.
Change to the directory in which you want to install. Type:
cd <directory>
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java
Change the permission of the file you downloaded to be executable. Type:
chmod a+x jre-6u<version>-linux-i586-rpm.bin
Start the installation process. Type:
./jre-6u<version>-linux-i586-rpm.bin
The license agreement is displayed. Review the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation.
The installation file creates and runs the file jre-6<version>-linux-i586.rpm in the current directory.
Verify that the jre1.6.0_<version> sub-directory is listed under the current directory. Type:
ls
Become the root user by running the su command and entering the super-user password.
At the terminal: Type:
su
Enter the root password.
Change to the directory in which you want to install. Type:
cd <directory>
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java
Change the permission of the file you downloaded to be executable. Type:
chmod a+x jre-6u<version>-linux-i586-rpm.bin
Start the installation process. Type:
./jre-6u<version>-linux-i586-rpm.bin
The license agreement is displayed. Review the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation.
The installation file creates and runs the file jre-6<version>-linux-i586.rpm in the current directory.
Verify that the jre1.6.0_<version> sub-directory is listed under the current directory. Type:
ls