title: Sencha Cmd installation on Mac: Java not found
body: <p>Trying to install Sencha Command 3.1.1 on my iMac (10.8.3).  The installer is saying:</p>
  
  <pre><code>The installer could not find a valid Java(tm) on this machine.
  Supported versions: Vendor : Any  min. 1.6.0 max. any
  </code></pre>
  
  <p>Following another Stack Overflow thread, I tried linking /usr/bin/java to /Library/Internet Plugins/JavaAppletPlugin.plugin/Contents/Home/bin/java.  Now, I get this on the command line:</p>
  
  <pre><code>~   java -version
  java version "1.7.0_21"
  Java(TM) SE Runtime Environment (build 1.7.0_21-b12)
  Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
  </code></pre>
  
  <p>So that looks good, but the installer still complains that it cannot find Java.  Why can't it?</p>