# Organizing sources

### Layout on file system

- In this section, you will create a new Java project and organize your sources in separate folders. This will prepare you for handling more complex layouts.
- Let's assume you want to put your sources in one folder and your tests in another folder:

### Steps for defining a corresponding project

1. Open a Java perspective, select the menu item File > New > Project.... to open the New Project wizard.

2. Select Java project in the list of wizards and click Next.

3. On the next page, type "MyProject" in the Project name field.

4. In Project layout group, change selection to Create separate source and output folders and edit Configure default... to modify Source folder name from "src" to "sources".

5. Click OK to return on New Java Project wizard and then click Next.

6. Click Finish

7. Edit project "MyProject"properties and select Java Builder Path page.

   On Source tab, click Add Folder....

8. On Source Folder Selection click Create New Folder....

9. In New Folder dialog, type "tests" in the Folder name field.

10. Click OK to close the dialog.

11. Your project setup now looks as follows:

12. Click OK

13. You now have a Java project with a `sources` and a `tests` folders. You can start adding classes to these folders or you can copy them using drag and drop.

Java projects
Java views

Working with build paths
Creating a new Java project
Creating a Java project with source folders
Creating a new source folder
Using the Package Explorer

New Java Project Wizard
Package Explorer View