Install Oracle Java(TM) SE Runtime Environment (build 1.8.0_111-b14)

1. Remove OpenJdk
sudo apt-get purge openjdk*

2. Add repository from terminal
sudo add-apt-repository ppa:webupd8team/java

3. Update list packages
sudo apt-get update

4. Install package
sudo apt-get install oracle-java8-installer

5. Enjoy java version (1.8.0_111-b14)
java - version

Popularne posty z tego bloga

The following VMware kernel modules have been found on your system that were not installed by the VMware Installer (vmci vmnet vmmon vmblock)

Completely reset an Apache instance in Ubuntu