8890, project dependency says "<No JDK>" and I can't pick it

I'm on Diana 8890 and it's not usable to me at all. My project dependency says "]]>" for my JDK and I can't seem to fix it at all. I have a project JDK, Module JDK... but I can't correct it.

3 comments
Comment actions Permalink

Hello David,

I'm on Diana 8890 and it's not usable to me at all. My project
dependency says "<No JDK>" for my JDK and I can't seem to fix it at
all. I have a project JDK, Module JDK... but I can't correct it.


What happens exactly? Do you have a list of already defined JDKs in Project
Structure dialog / JDKs section? And when you open the combo box in Project
Structure / General, this combo box contains nothing but "No JDK"? Or something
different happens?

Alexander.


0
Comment actions Permalink

This may be connected to an exception that occurs when I click the "edit" button next to my JDK choice in the dependencies window. I reported it to ITN though I don't know how to find a reference to it (i.e. a URL). The exception was about some @NotNull violation on a MouseEvent or something.

My JDK listing is normal -- I see my JDKs. I can pick amongst them in the general & module windows. But my dependency list refuses to show other than "]]>". Consequently, my source code analysis & what'not doesn't know what a String is, amongst most other things.

0
Comment actions Permalink

I've done a bit of testing to try and determine the cause of the problem and I've found it!
What's wrong is that my module's .iml file needs a line like this:
]]>
And that line needs to be in here: /module/component[@name='NewModuleRootManager']

For me it wasn't there. By creating a new project I discovered what was "normal".

0

Please sign in to leave a comment.