macosintellij-ideajvmversionuser-preferences

Where in the IntelliJ preferences/settings do I specify a JVM?


On macOS, we can add another JVM while having old versions of the JVM still installed.

How do I point IntelliJ 2017.2 to another version of my JVM?

I can find no such setting in the Preferences window.

Preferences > Build, Execution, Deployment – Nope.

Preferences > Build, Execution, Deployment > Compiler – Nope.

Preferences > Build, Execution, Deployment > Compiler > Java Compiler – Nope.


Solution

  • If you don't have a project, you can access the dialog with SDK configuration from the Welcome Screen: Configure | Project Defaults | Project Structure | SDKs.

    However, IDE will ask for the SDK anyway when you add a new project, so there is not much sense in defining it beforehand.