Note about installation of java on Ubuntu computer

1
$ sudo apt-get install openjdk-7-jdk

OR

1
2
3
4
5
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java7-installer
$ sudo apt-get update
$ java -version

That’s all

Comments