title: Could not find or load main class Eclipse
body: <p>I am new to JAVA. I am using Eclipse 3.7 with WindowBuilder Pro installed. I have made a JFrame SearchFrame.java using the GUI in the package SearchPackage.
  <img src="https://i.stack.imgur.com/6OyvT.png" alt="enter image description here"></p>
  
  <p>But when I try to run this file it gives me the error:</p>
  
  <pre><code>Error: Could not find or load main class SearchPackage.SearchFrame
  </code></pre>
  
  <p>I looked into my output folder DatabaseSearch/bin and there is no .class file in it. Please suggest me what should I do to rectify this. Thanks in advance.</p>