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

 

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.