title: could not load main class netbeans
body: <pre><code>public class Sequence {
  
      public static void main(String[] args) {
          int limit=20;
          int sum=0;
          int a=0;
          int b=1;
  
          while(sum&lt;limit)
          {
              sum=a+b;
              a=b;
              b=sum;
          }
      }
  }
  </code></pre>
  
  <p>My Netbeans was working fine when I was using jdk 1.8.0.65 earlier but due do some reason I lost my data, I installed jdk 1.8.0.73 then and now my every program on Netbeans shows this error:</p>
  
  <blockquote>
    <p>run: Error: Could not find or load main class sequence.Sequence
    C:\Users\owais\AppData\Local\NetBeans\Cache\8.1\executor-snippets\run.xml:53:
    Java returned: 1 BUILD FAILED (total time: 0 seconds)</p>
  </blockquote>
  
  <p>I googled the problem and updated the netbeans_jdk path in netbeans.config file but still it does not work.
  I am new to programming I would really appreciate some help.</p>