Install Java-jdk in ubuntu

  • December 28, 2014
  • cboursinos
  • java, Tips
  • Comments Off on Install Java-jdk in ubuntu

Here is a post to demonstrate to you how to install java jdk in ubuntu.

<code>
sudo apt-get update
sudo apt-get install default-jre
sudo apt-get install default-jdk
sudo apt-get install openjdk-7-jre
sudo apt-get install openjdk-7-jdk

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update

</code>

After you install it you can check the version of java just by open the terminal and type
java -version