title: Problems installing Java EE SDK on Linux
body: <p>I installed the Java 6 JRE on my VPS just fine, but I can't get the EE SDK installation to even run.</p>
  
  <pre><code>root@vps [/usr/java]# java -version
  java version "1.6.0_18"
  Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
  Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
  </code></pre>
  
  <p>However, when I try to run <code>java_ee_sdk-6-unix.sh</code>:</p>
  
  <pre><code>./  ../  java_ee_sdk-6-unix.sh*  jre1.6.0_18/  jre.bin*
  root@vps [/usr/java]# ./java_ee_sdk-6-unix.sh
  
  Could not locate a suitable jar utility.
  Please ensure that you have Java 6 or newer installed on your system
  and accessible in your PATH or by setting JAVA_HOME
  </code></pre>
  
  <p>But the catch is that I set my environment variables correctly:</p>
  
  <pre><code>root@vps [/usr/java]# echo $PATH
  /usr/java/jre1.6.0_18:/usr/java/jre1.6.0_18/bin:/usr/java/jre1.6.0_18/jre/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin
  root@vps [/usr/java]# export -p | grep JAVA_HOME
  declare -x JAVA_HOME="/usr/java/jre1.6.0_18"
  </code></pre>
  
  <p>I'm pulling my hair out here, any ideas?</p>