Installing JDK8 on Xubuntu

Add PPA

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Resources

http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html