I am trying to install java on a Linux machine. I downloaded the file via wget http://download.oracle.com/otn-pub/java/jdk/7u72-b14/jdk-7u72-linux-x64.tar.gz
Then i tried the following command:
tar zxvf jdk-7u72-linux-x64.tar.gz
gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now [root@localhost ~]#
Can someone tell me how to install java on a Linux machine ? I get the above error, and i have no clue how to resolve it.