title: following error occurred while executing this line: Class not found: javac1.8
body: <p>I know this has been asked in other questions however. The fix was not explained enough for me. I am extremely new to java and all that comes with it.
  (I am Using netbeans)</p>
  
  <p>Im getting this error when running my program;</p>
  
  <pre><code>Updating property file: C:\Users\Sam\Documents\NetBeansProjects\Assignment1\build\built-jar.properties
  C:\Users\Sam\Documents\NetBeansProjects\Assignment1\nbproject\build-impl.xml:926: The following error occurred while executing this line:
  C:\Users\Sam\Documents\NetBeansProjects\Assignment1\nbproject\build-impl.xml:268: Class not found: javac1.8
  BUILD FAILED (total time: 0 seconds)
  </code></pre>
  
  <p>I read that i need to update my ant? How do i do that? I checked the website and it's really confusing for me.</p>
  
  <p>I also saw somebody suggesting to add "-Dbuild.compiler=javac1.7" to bypass having to update this. Where exactly in my code would i put that? Thanks for your time and advice in advance. It's really appreciated :) </p>