title: export JAVA_HOME with spaces in Cygwin
body: <p>I'm trying to set my JAVA_HOME in Cygwin with this command:</p>
  
  <pre><code>export JAVA_HOME="/cygdrive/c/Program Files/Java/jdk1.7.0_10"
  </code></pre>
  
  <p>But when I do <code>cd $JAVA_HOME</code>, I'd get this error:</p>
  
  <pre><code>$ cd $JAVA_HOME
  -bash: cd: /cygdrive/c/Program: No such file or directory
  </code></pre>
  
  <p>I tried quoting, and escaping the space (ie., <code>\</code>), but none worked.
  Any idea what else would?</p>
  
  <p>Thanks,</p>