title: How to install java jdk in RHEL?
body: <p>I am following example commands from other sites but it isn't helping!</p>
  
  <p>What am I doing wrong? </p>
  
  <pre><code>chmod +x jdk-6u24-linux-i586-rpm.bin
  ./jdk-6u24-linux-i586-rpm.bin
  </code></pre>
  
  <p>Results give me:</p>
  
  <pre><code>bash: ./jdk-6u24-linux-i586-rpm.bin: /bin/sh: bad interpreter: Permission denied
  </code></pre>
  
  <p>Ok.. after doing </p>
  
  <pre><code>sh jdk-6u24-linux-i586-rpm.bin
  </code></pre>
  
  <p>as suggested below, I get this:</p>
  
  <p><img src="https://i.stack.imgur.com/tcBPG.jpg" alt="enter image description here"></p>
  
  <p>Did the install fail?  Is the file corrupted??? Thanks!!</p>