intellij feature (...) not supported at this language level. I can't compile
<p>IntelliJ is showing me <a href="http://prntscr.com/9vrazk" rel="noreferrer">this error</a></p>

<p>I just built my new computer and none of my java stuff is working... My regular Intellij was working when I first tried it, but my android studio would't install because it couldn't find the path to the jdk. <a href="https://stackoverflow.com/questions/35007557/android-studio-cant-install-because-it-cant-find-jdk" title="Android Studio can&#39;t install because it can&#39;t find jdk">Here</a> is the question that I asked about that. Since that wasn't working, I had to reinstall java multiple times, and now my IntelliJ isn't working. Here is a picture of the error (I am getting an error that is telling me the for-each loops aren't supported at this language level).</p>

<p>I have tried to install the JDK on my D: drive and that didn't work. I am currently trying to use java 1.8u71 (have tried u65 and 1.7u47) except none of those have worked.</p>