title: Issues uncompressing a tar.gz file
body: <p>I have been trying to uncompress the following file:</p>
  
  <pre><code>sudo wget http://download.oracle.com/otn-pub/java/jdk/7u21-b11/jdk-7u21-linux-x64.tar.gz
  </code></pre>
  
  <p>with the following:</p>
  
  <pre><code>sudo tar zxvf jdk-7u21-linux-x64.tar.gz -C /usr/lib/jvm/
  </code></pre>
  
  <p>I am getting this error</p>
  
  <pre><code>gzip: stdin: not in gzip format
  tar: Child returned status 1
  tar: Error is not recoverable: exiting now
  </code></pre>
  
  <p>I am using an Amazon Linux instances. By default jre is installed instead of the jdk, which I need to be able to run jboss. I would install the jdk using <code>yum</code>, but unfortunately it doesn't seem to be possible. Issue I am having is that it doesn't make sense why its not working if I am doing everything right from what I have been able to discern. I have downloaded two different versions just to be sure its not just corrupted files. Any help figuring this out would be greatly appreciated!</p>