IntelliJ doesn't detect jdk
Followed by 3 people
Answered
When I try to create a new project, in the project sdk box it says there is no sdk. I have installed jdk and jre 9. How can I fix this?
Please sign in to leave a comment.
In project wizard select New... and point to the installed JDK using file chooser dialog. Does it work?
I can but it doesn't save my selection and I have to select the path of the jdk every time i open it.
This works fine for me. Do you mean that JDK is not saved or that it is not pre-selected next time you create a project? Is it saved if you add JDK in File | Project Structure | SDKs? Try to start IDE with IDE plugins folder deleted.
If problem remains, please file an issue at https://youtrack.jetbrains.com/issues/IDEA with screenshots of your exact steps which shown the problem and idea.log file after IDE restart and reproducing the issue.
i was finally able to add the jdk. thanks for the help!