How do I change the SDK in Scala?

How do I change the SDK in Scala?

To change the SDK in Scala, follow the below steps:

  1. Select Ctrl+Alt+S to open Settings/Preferences dialog.
  2. From the left options, select Build, Execution, Deployment | Compiler | Scala | Scala Compiler Server.
  3. In JVM SDK field, define the appropriate SDK.