I installed Intellij 6.0.5 on a new machine, and I'm getting this error on all my classes:
Cannot resolve symbol 'java'
And all the java packages aren't recognized ('java' is shown in red for import java.util).
I have jdk 1.4.2, 1.5 and 1.6 installed, each one set up in intellij, and I get the same problem when I choose them for the project. If I choose the Intellij IDEA SDK for for the JDK, then things work.
Any ideas why the others don't work? When I look at the JDK dialog, it looks like it has the classpath, sourcepath and javadoc paths all set up properly (same as my other laptop, which works fine).
I'm not sure what else to try...any suggestions?
Thanks in advance.