Sometimes running a project in eclipse results in the following error:
"Could not find the main class, Program will exit"
That could be because of adding Java EE instead of Java SE to project build path.
The solution is adding the Java SE to the project build path.


