While trying to build a project using intelliJ Ultimate 12 I am getting these errors
use -source or higher to enable diamond operator use -source 7 or higher
the language level for a project is set in the project structure dialog: you want to make sure you set the language level to java 7, and the sdk accordingly