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:
The $ classes are for anonymous inner classes and perfectly normal.
$
Could we see the command line you ran? You probably need to write java MainFile instead of java MainFile.class.
java MainFile
java MainFile.class