Hello World by Eclipse

Create a simple hello-world project in Eclipse.

Action Plan

  • Start Eclipse
  • Switch to the perspective Java
  • Create a new Java Project by one of the following methods:
    • In the view Package Explorer, use the context menu: New > Java Project
    • Use the pull down button on the speed button bar icon: New > Java Project
    • Use the Eclipse Menu: File > New > Java Project
  • The dialog New Java Project is shown

  • Enter in the text field Project Name: hello-world
    WARNING: This should be lower case and no spaces! Use the hyphen character (dash -) to separate words.
  • Use the button Finish, to create the Java project.

Create a New Java Package

  • In the view Package Explorer or Project Explorer select the src the project _hello
Written on May 16, 2016