title: Compiler is creating extra class files with $ in them
body: <p>I'm using Eclipse and I've written a Java application using SWT. When Eclipse compiles my program, it renames my main file into 4 different files like this:</p>
  
  <ul>
  <li>MainFile.class</li>
  <li>MainFile$1.class</li>
  <li>MainFile$2.class</li>
  <li>MainFile$3.class</li>
  </ul>
  
  <p>When I go to run this program from command line, I get </p>
  
  <blockquote>
    <p>Could not find the main class: MainFile.class. Program will exit.</p>
  </blockquote>
  
  <p>I really don't understand why this is happening.</p>