IntelliJ IDEA can't setup JDK

mr.nothing picture mr.nothing · May 16, 2012 · Viewed 61.6k times · Source

I'm trying to setup JDK in IntelliJ IDEA and whatever I do, or whatever JDK version I select, nothing happens. The following situation remains: enter image description here

So I told IDEA what JDK it should use, but it still asks me to setup a JDK. Is this a bug or am I missing something? Can I apply any workaround to make everything work as usual?

ADDITION

The steps which I go through setting up the JDK: situation before setting up:
enter image description here

the first step:
enter image description here

the second step:
enter image description here

the third step:
enter image description here

the situation after setting up JDK: enter image description here

SDKs:
enter image description here

module settings:
enter image description here

Answer

CrazyCoder picture CrazyCoder · May 16, 2012

File | Invalidate Caches is the first thing you should try in case of such issues.