title: Jar file does not work in IDE, but works in terminal
body: <p>I am experiencing a problem with netbeans 8.0. If I run my project on the terminal, it runs sucessfully. But, in netbeans IDE I get the error: <code>Could not find main class</code>. </p>
  
  <p>In the terminal i run <code>"java -jar "/Users/diogoaleixo/Desktop/Computação grafica/OlaMundo2D/dist/OlaMundo2D.jar"</code>.</p>
  
  <p>I have already defined the main class in the properties of the project.</p>
  
  <p>Can someone help me please ?</p>