I am attempting to use JDK 7\'s \"try-catch with resources\" statement; IntelliJ highlights my resource line, saying
Try-with-resources are not supp
The only way this error will occur is if your module's language level isn't set to 1.7+. This needs to be set in either your IntelliJ project/module settings, the project's pom.xml file, or both.
IntelliJ

Maven
1.7
1.7
Module settings can override project settings; if setting this at the project level and you have a specific issue in a module, check the module settings as well.