my intellij cant find java SDK

Hi all, hope any one can help me with this. i was using it

yesterday and it was fine, today when i start it, my intellij cant find the java 5  sdk, i reset it and reload the lib, but still cant find it. When i do make project, it's still working fine. but the java file keep getting red like this :


Comment actions Permalink

more updates on this issue, here is the location of jdk and settings in intellij. 2.png

Comment actions Permalink

do need resolve this urgently , please let me know if you have any thoughts on this. thanks a lot!!

Comment actions Permalink

Hi Wen.

Have you associated the JDK to your project?

Check File->Project Structure->Project. Is there a valid JDK selected in the Project SDK dropdown?

Comment actions Permalink

yes it's pointing to 1.5


Comment actions Permalink

Please also check out module SDK (File | Project Structure | Modules | Dependencies).

Comment actions Permalink

On Thu, 27 Oct 2011 15:00:56 MSD, wen shi <>
wrote, quoted or indirectly quoted someone who said :

>more updates on this issue, here is the location of jdk and settings in intellij.  Image:2.png

There is no attachment visible.  I suspect somewhere along the line it
is being discarded.  I have never seen an attachment on this

What you need to do is post the png somewhere and tell us its url.

In the meantime, see:

It is a set of instructions for configuring the JDK in IntelliJ.

Roedy Green Canadian Mind Products
Capitalism has spurred the competition that makes CPUs faster and
faster each year, but the focus on money makes software manufacturers
do some peculiar things like deliberately leaving bugs and deficiencies
in the software so they can soak the customers for upgrades later.
Whether software is easy to use, or never loses data, when the company
has a near monopoly, is almost irrelevant to profits, and therefore
ignored. The manufacturer focuses on cheap gimicks like dancing paper
clips to dazzle naive first-time buyers. The needs of existing
experienced users are almost irrelevant. I see software rental as the
best remedy.


Please sign in to leave a comment.