Step 2: How to create a new project

Launch Create Class Import Run Handin previous step next step

This step will show you how to create a Java application Project in Eclipse.
  1. Choose File -> New -> Project from the Eclipse menu bar, as in the following example:
    New Project

  2. The New Project wizard will appear, as in the following example:
    New Project Wizard

  3. Make sure "Java Project" is selected and click the Next button. The following window will be displayed:
    New Java Project
       Wizard
    Enter the Project name, which is PairOfDice for this tutorial:
    PairOfDice
    Click on Finish

  4. Congratulations, you have created your first Java project! You now have an Empty Workspace ready for your code
    Empty Workspace

    Leave this project window open, if you plan to continue with the tutorial at this time. Otherwise, you may exit Eclipse by clicking the  button in the upper right hand corner of the Eclipse title bar, or through the Eclipse menu File -> Exit.


Launch Create Class Import Run Handin previous step next step