I just installed and re-installed IntelliJ. Every Java file is coming up RED. I checked the JDK; it is at 1.6.##. The maven clean install build worked just fine
I experienced this when I updated my JDK manually and removed the previous JDK

Integer for example) and press ALT + ENTER (or click the light bulb icon)
Configure
/opt/jdk1.7.0_51 instead of /opt/jdk1.7.0_65)


And everything should be back to life :)
