Creating a new source folder
In a project that uses source folders, you can create a new folder to contain Java source code.
-
In the Package Explorer, select the project where you want the new source folder to reside.
-
From the project's pop-up menu, select New > Others. The new wizard opens.
-
Select Java from the left pane and Source Folder from the right pane, then click Next. The New Source Folder wizard opens.
-
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 Browse to choose a project that uses source folders.
-
In the Folder Name field, type a name for the new source folder.
-
Click Finish when you are done.
Java projects
Creating Java elements
Creating a new Java project
Creating a new Java package
Creating a Java project as its own source container
Creating a Java project with source folders
New Source Folder wizard
Java Toolbar actions
Package Explorer