Creating a New Source Folder

In a project that uses source folders, you can create new folder for containing Java source code.

1.

In the Packages view, select the project where you want the new source folder to reside. Then, from the project's context menu, select New > Source Folder.

Note: This menu command is only available from the context menu of projects that use source folders, as determined in the project's properties, which are accessible from the project's context menu (context menu > Properties > Java Build Path > Source tab).

2.

In the Project Name field, the name of the selected project appears.

If you need to edit this field, you can either type a path or click the Browse button to choose a project that uses source folders.

3.

In the Folder Name field, type a name for the new source folder.

4.

Click Finish when you are done.