You can install Oracle Java 8 using the Oracle Java (JDK) 6 / 7 / 8 Installer PPA from the “WebUpd8” team. The installer includes Java JDK, JRE and the Java browser plugin.
To add the PPA and install Oracle Java 8 open a terminal window (press Ctrl+Alt+T) and copy+paste the following lines:
sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
sudo apt-get install oracle-java8-installer -y
When Oracle Java 8 is installed you can close the terminal window.
WOW Thank You Its working
no problem 🙂