To install Java in Linux, refer the following instructions: 1. Download the 32bit or 64bit compressed binary “.tar.gz” file from here. 2. Create a system directory like /usr/lib/jvm to install JDK and copy the tar file to the directory.
sudo mkdir -p /usr/lib/jvm
sudo mv jdk-7u3-linux-x64.tar.gz /usr/lib/jvm/
3. Change the present working directory to the installation directory and […]