INSTALLING ORACLE JAVA ON UBUNTU-EASIEST WAY (ANY LINUX EXCEPT FOR FEDORA)

java1. Type in terminal:
sudo apt-get purge openjdk

2. Now add this ppa using following command:
sudo add-apt-repository ppa:webupd8team/java

3. now update your system:
sudo apt-get update

4. Now you can install java using this command:
sudo apt-get install oracle-java7-installer

If you want update your java oracle version, type this commands:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
sudo update-java-alternatives -s java-7-oracle

If you want Java Oracle 6 too, type this command:

sudo apt-get install oracle-java6-installer

Have a fun!  Tut by Kiaobcui'
Pin It

Lascia un commento