Execution of simple Hello World Application

  • Navigate to "File/New/Java Project" as shown below for creating the new Java Project naming "Hello World With IDE".

Image showing navigation for creating new Java Project in Eclipse IDE

  • Provide with following information in the given field.

Project Name: Hello World With IDE

  • Here you have the option to either Create new project in workspace or you can create project from existing source.
  • You can also use the previously created HelloWorld application as the existing source.
    But here we preferred to create a new project for better understanding.

 

Image showing the enteries for defining new Java Project

  • Click "Next" button, you see the following screen.

Image showing the Java setting for creating new Java Project

 

  • Check the "Allow output folders for source folder" option if you wish to have the class file for the HelloWorld.java