title: Installing JDK from self extracting bin on Cygwin
body: <p>I want to install the JDK in cygwin on my windows machine. I am downloading the linux version of JDK from oracle site using wget command. Here is the list of commands I am running to install JDK:</p>
  
  <p><code>wget http://download.oracle.com/otn-pub/java/jdk/6u31-b04/jdk-6u31-linux-x64.rpm.bin</code></p>
  
  <p><code>chmod a+x jdk-6u31-linux-x64.rpm.bin</code></p>
  
  <p><code>./jdk-6u31-linux-x64.rpm.bin</code></p>
  
  <p>All these instructions are same as suggested by Oracle for installing JDK over <a href="http://www.oracle.com/technetwork/java/javase/install-linux-64-rpm-138254.html" rel="nofollow noreferrer">here</a> but I am getting the following errors:</p>
  
  <p><img src="https://i.stack.imgur.com/MlPZu.jpg" alt="enter image description here"></p>