I'm trying to download and install Java Development Kit 7 onto my Ubuntu machine. I've downloaded the file from Oracle (jdk-7u25-linux-x64.tar.gz) but when I try to uncompress the file using
tar -xvf jdk-7u25-linux-x64.tar.gz I get the following error:
tar: jdk-7u25-linux-x64.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now
Is there something I'm doing wrong? If not how do I fix?