- download Oracle JDK package
apt-get install java-package
fakeroot make-jpkg jdk-7*-linux-x64.tar.gz
dpkg -i oracle-j2sdk1.7_1.7.0*.deb
update-java-alternatives -l
update-java-alternatives --jre --plugin -s j2sdk1.7-oracle
update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /usr/lib/jvm/j2sdk1.7-oracle/jre/lib/amd64/libnpjp2.so 317
update-alternatives --all