Blog

Could not find the main class, Program will exit

Tags :
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.

Java Build Path

Eclipse Edit Library

Eclipse Execution Environment

0 Comments :

Comment

All Categories