Monday, July 20, 2009

How To Install Java In Centos/Debian/Redhat/Ubuntu?

How To Install Java In Centos/Debian/Redhat?

To install java in Centos/Debian/Redhat/Ubuntu, just download the .bin file form java website like the steps bellow:

1. Open http://java.sun.com/javase/downloads/ find "Java SE Runtime Environment (JRE)" and click Download

2. Choose Linux as Operating System, then click Continue

3. Right click the download link then paste to the terminal

4. Download file jre-6u14-linux-i586-rpm.bin using wget from terminal

5. Type chmod +x jre-6u14-linux-i586-rpm.bin

6. Type ./jre-6u14-linux-i586-rpm.bin

7. Check the java version installed, by typing java -version

0 comments: