Creating a Project
To set up a development project environment, configure JDK, install Scala plug-in, and create a project.

- Install IntelliJ IDEA and JDK, and configure JDK in IntelliJ IDEA.
- Start IntelliJ IDEA and click Configure.

- Select Project Defaults from the Configure drop-down list.

- Select Project Structure from the Project Defaults menu.

- On the displayed Project Structure page, select SDKs and click the plus sign to add JDK.

- In the displayed Select Home Directory for JDK window, select the JDK directory and click OK.

- Click OK.

- Start IntelliJ IDEA and click Configure.
- Install the Scala plug-in in IntelliJ IDEA to use the Scala development environment.
- Select Plugins from the Configure drop-down list.

- On the Plugins page, search for and select Scala, and click OK.

- Select Plugins from the Configure drop-down list.
- Configure Maven in IntelliJ IDEA.
- Select Settings from the Configure drop-down list.

- Enter maven in the search box, select Maven from the left navigation pane, set Maven home directory on the right to the local Maven directory, and click OK.

- Select Settings from the Configure drop-down list.
- Create a project.
- Start IntelliJ IDEA, and select Create New Project on the Quick Start page. Alternatively, if IntelliJ IDEA has been started, choose File > New Project to directly add a new project.

- Choose Maven > Project SDK and click Next.

- Set Groupld and Artifactld and click Next.

- Specify the path and name of the new project and click Finish.

- After the project is created, the new project directory is displayed on the IDEA home page.
- Start IntelliJ IDEA, and select Create New Project on the Quick Start page. Alternatively, if IntelliJ IDEA has been started, choose File > New Project to directly add a new project.
Parent topic: Sample Project
