How to install Java on Ubuntu for broswer

sudo apt-get install openjdk-7-jre icedtea-plugin

,