This tutorial will guide you to install Oracle Java 8 in Ubuntu 15.10 using WebUpd8 PPA repository.

To install Oracle Java 8 in Ubuntu 15.10, you have to add WebUpd8 PPA repository into your ubuntu. To do that, execute the following command in your terminal:

sudo add-apt-repository ppa:webupd8team/java

Then make an update by using this command:

sudo apt-get update

Install Oracle Java 8 by using this command:

sudo apt-get install oracle-java8-installer

After installations process is done, you can confirm by using this command:

java -version

Reference: