Creating a Project
To set up the development project environment, configure the JDK, install the Scala and Maven plugins, and create a project.

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

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

- Select Project Structure under Project Defaults.

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

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

- After selecting the JDK, click OK to complete the configuration.

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

- On the Plugins page, search for scala. Select Scala and click OK to start the installation.

- Select Plugins from the Configure drop-down list.
- After installing the Scala plugin, configure Maven in IntelliJ IDEA.
- Select Settings from the Configure drop-down list.

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

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

- Choose and click Next.

- Set Groupld and Artifactld and click Next.

- Set 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, as shown in the following figure:
- Start IntelliJ IDEA. On the Quick Start page, select Create New Project. Or if IntelliJ IDEA has been started, choose to directly add a new project.
Parent topic: Example Projects
