How to Install Latest Oracle JDK on Ubuntu
Java is one of the necessary software for almost all Operating System. Some Operating Systems like Mac ( older versions ) come with Java Runtime Environment ( JRE) and Java Development Kit ( JDK) . It is a must have software for Java developers , Android programmers etc… If you are not a developer or programmer , you need JRE to run Java applications and programs on your computer. This tutorial helps you install JDK on your Computer. We skip Windows and Mac installation , because it very simple and easy. Just visit Oracle Java download page , download JDK ( .exe ) file for Windows and JDK (.dmg) file for Mac. Open it and install it. Before you download , accept their agreements.
How to Install JDK on Ubuntu Operating System.
There are two methods , either you can download tar. gz ( common to all Linux versions , RPM is for fedora , red hat ) , or you can use terminal commands. The second method will be simple.
1. Open Terminal from the dashboard
2. Watch this video tutorial
If you don’t have fast Internet connection , enter the following commands one by one
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-jdk7-installer
This is to check java version
If you have any questions please feel free to ask