IntelliJ Idea 2017.2.5 does not recognise Java 9 SDK

Answered

Hi,

I've just installed Java SDK 9 and fired up IntelliJ IDEA.

I pointed the IntelliJ to JDK 9 folder but the OK button is greyed out.

What am I doing wrong?

It worked fine with JDK 8.

Thanks in advance for any help.

0
8 comments

What JDK version are trying to add? What OS do you use?

0
Avatar
Permanently deleted user

JDK 9 on Windows 10.

Just found out that if I use Default Project Structure and point it to JDK 9 it works but 

not if I do "Switch IDE Boot JDK".

Maybe I misunderstood what switch between runtimes means.

Thanks.

0

Do you need to run IDEA under JDK 9 or just to build project with JDK 9?

0
Avatar
Permanently deleted user

What's the difference?

 

0

Boot JDK is a JDK that is used to run application. Project JDK is a JDK that is used to compile and build projects. 

0
Avatar
Permanently deleted user

I just want to build projects.

@Yaroslav: Thanks for your help 

0

Project JDK is changed in https://www.jetbrains.com/help/idea/project-structure-dialog.html. You can add a new one in the SDKs tab and then configure your project/modules to use this new JDK in the corresponding tabs.

JDK used to run IntelliJ IDEA itself is completely unrelated.

0
Avatar
Permanently deleted user

Thanks again.

0

Please sign in to leave a comment.