title: something wrong with environment variables, won't build: using Netbeans writing C/C++
body: <p>there's definitely something wrong with setting up my environment variables. </p>
  
  <p>I had messed around with it when I was trying to do an android app. 
  now i'm trying to set up netbeans, but it won't build.</p>
  
  <p>when I first tried to build, tool selection came out, and it had looked for <code>cygwin</code> bin files in <code>D:</code> instead of <code>C:</code>, so I manually browsed for each file.</p>
  
  <p>i found g++ make etc. however, I couldn't find <code>gfortran.exe</code>. 
  now, a message says that it can't find shell, and asks me to install <code>cygwin</code>. </p>
  
  <p>this is what i have in my path:</p>
  
  <pre><code>D:\DAC driver and stuff\;%JAVA_HOME%\bin;
  D:\matlab\MATLAB\runtime\win64;
  D:\matlab\MATLAB\bin;C:\cygwin64\bin 
  </code></pre>
  
  <p>and yes, cygwin is in C:\cygwin64</p>
  
  <p>this is a picture of everything i have in my environment variables:</p>
  
  <p><a href="http://i567.photobucket.com/albums/ss114/samio_130/cake/pictwoo.png" rel="nofollow">http://i567.photobucket.com/albums/ss114/samio_130/cake/pictwoo.png</a></p>
  
  <p>edit: i think i deleted something from 'path'! should there be something infront of what i currently have?? </p>