title: Could not find the main class
body: <p><img src="https://i.stack.imgur.com/P3whx.jpg" alt="enter image description here"></p>
  
  <p>This is what i get when i try to run my program ..</p>
  
  <p>I am also getting:</p>
  
  <pre><code>java.lang.UnsupportedClassVersionError: Bad version number in .class file 
  </code></pre>