Rate This Document
Findability
Accuracy
Completeness
Readability

Creating a Project

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

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

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

    3. Select Project Structure from the Project Defaults menu.

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

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

    6. Click OK.

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

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

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

    2. 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.

  4. Create a project.
    1. 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.

    2. Choose Maven > Project SDK and click Next.

    3. Set Groupld and Artifactld and click Next.

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

    5. After the project is created, the new project directory is displayed on the IDEA home page.