title: Cordova/PhoneGap Build Error
body: <p>I am getting the following error when I am trying to build my phonegap project.</p>
  
  <pre><code>D:\LWMobile\hello&gt;cordova build android
  .
  .
  .
  
  BUILD FAILED
  C:\AndroidSDK\adtbundle\sdk\tools\ant\build.xml:601: The following
  d while executing this line:
  C:\AndroidSDK\adtbundle\sdk\tools\ant\build.xml:720: The following
  d while executing this line:
  C:\AndroidSDK\adtbundle\sdk\tools\ant\build.xml:734: Class not foun
  
  Total time: 2 seconds
  Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,D:\LWMo
  atforms\android\build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=an
  Error: D:\LWMobile\hello\platforms\android\cordova\build.bat: Comma
  h exit code 2
      at ChildProcess.whenDone (C:\Users\aniruddha.b\AppData\Roaming\
  les\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:
      at ChildProcess.emit (events.js:98:17)
      at maybeClose (child_process.js:756:16)
      at Process.ChildProcess._handle.onexit (child_process.js:823:5)
  </code></pre>
  
  <p><strong>I am on 64-bit machine and have installed JDK 8 64-bit.
  The following are my system path variables:</strong></p>
  
  <pre><code>ANT_HOME: C:\Users\aniruddha.b\AppData\Roaming\npm\node_modules\ant\ant
  JAVA_HOME: C:\Program Files\Java\jdk1.8.0_20
  CLASSPATH: C:\Program Files\Java\jdk1.8.0_20\lib
  
  PATH: %JAVA_HOME%\bin;
  C:\AndroidSDK\adtbundle\sdk\platform-tools;
  C:\AndroidSDK\adtbundle\sdk\tools;
  C:\Program Files\nodejs\;
  %ANT_HOME%\bin;
  </code></pre>
  
  <p>My Project path is: D:\LWMobile\hello</p>
  
  <p>"hello" is the project folder</p>