Create a First Project

Begin by creating a new Java project. Click the 'New Java Project' button on the toolbar.

The Java Project dialog will open. Enter your project's name in the Project Name field. Be sure to select 'Create separate source and output folders' from the Project Layout group.

Now that the project has been created, we can add a package to the project. Click the 'New Java Package' button on the toolbar.

Enter the name of your package and click 'Finish'.

Finally, we'll add a class to the project. Click the 'New Java Class' button on the toolbar.

Enter the name of the class in the Name field, then click 'Finish'.

The class will be available in the source code editor. From here, we can modify our source code however we choose. In this example, an attribute has been added to our class.