Create a New Eclipse Project

  1. Choose File > New > Java Project from the Eclipse menu bar, as in the following example:
  2. The following window will be displayed. Enter the Project name. In the Project layout section, “Use project folder as root for sources and class files” option is selected (and configure as default) as shown in the image below:
  3. Click Finish to actually create the project you just described. The following screen will be displayed, denoting a workspace with one project to choose from the Package Explorer. Click on the arrow next to the project name.
    Note: If you forgot to close the Welcome screen (shown in the prior step), then you will not see the above window. To close the Welcome screen, click the X on the tab labeled Welcome(towards the top left of the Eclipse window). Now you should see the workspace.
  4. Congratulations, you have created your first Java project! But, we’re only partway there. Next, comes putting some substance (code) into the project to make a working program! Leave this project window open, since you will be continuing with the tutorial at this time. In general, once you have created a project and are done working on it for the time being, you may exit Eclipse by clicking the X button in the upper right-hand corner of the Eclipse title bar, or through the Eclipse menu File > Exit.

Next Tutorial: