title: Installing PIG on single node
body: <p>I installed Hadoop (1.0.2) for a single node on Windows 7 with Cygwin, and it is working. However, I cannot get PIG (0.10.0) to see the Hadoop.</p>
  
  <pre><code>1) "Error: JAVA_HOME is not set."
  </code></pre>
  
  <p>I added this line to pig (under bin): export JAVA_HOME=/cygdrive/c/PROGRA~1/Java/jdk1.7.0_05</p>
  
  <pre><code>2) which: no hadoop in (/usr/local/b.....)
  cygpath: cannot create short name of C:\pig-0.10.0\logs
  Cannot locate pig.jar. do 'ant jar', and try again
  </code></pre>
  
  <p>I tried adding below lines to pig and it is still not finding hadoop. What should i do?</p>
  
  <pre><code>export PIG_HOME="/cygdrive/c/pig-0.10.0"
  export PATH=$PATH:$PIG_HOME/bin
  export PIG_CLASSPATH=/cygdrive/hadoop/hadoop-1.0.2/conf
  </code></pre>