title: Failing to run jar file from command line: “no main manifest attribute”
body: <p>I am trying to run a jar file from the console:</p>
  
  <pre><code>java -jar ScrumTimeCaptureMaintenence.jar
  </code></pre>
  
  <p>And am getting the error:</p>
  
  <blockquote>
    <p>Can't execute jar- file: “no main manifest attribute”</p>
  </blockquote>
  
  <p>As you can see I do in fact have a main file and it runs fine from eclipse:</p>
  
  <p><img src="https://i.stack.imgur.com/bslJ2.png" alt="main method is in class"></p>
  
  <p>What do I need to do to successfully run this file from the command line?</p>