javaeclipsegalileo

Java application not run in Eclipse Galileo


I have Eclipse Galileo. I created a new Java project but couldn't run the application. I get the following launch error:

Selection does not contain a main type

The sample error screenshot


Solution

  • The signature of the main method is shown below:

    public static void main(String[] args)
    

    Also, the following link may be beneficial for you:

    http://download.oracle.com/javase/tutorial/getStarted/application/index.html