I followed the instructions in the accepted answer to this question and was able to correctly install the latest version of Java 7.
However I do not have mozilla firefox installed but chrome. I was therefore wondering what should be the isntructions to execute instead of:
mkdir ~/.mozilla/plugins
ln -s /usr/lib/jvm/jdk1.7.0/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/
sudo /etc/init.d/apparmor restart