Oracle Java install on Ubuntu 14.04

add deb http://archive.ubuntu.com/ubuntu trusty multiverse into /etc/apt/sources.list
if necessary
apt-get install java-package
Download jdk-8u40-linux-x64.tar.gz or recent tar ball from java.com
as a non-root user:
cd  /downloaddir
make-jpkg jdk-8240-linux-x64.tar.gz
sudo dpkg -i oracle-java8-jdk
8u40_amd64.deb