use -source 7 or higher

后端 未结 7 1464
既然无缘
既然无缘 2020-12-28 12:15

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         


        
7条回答
  •  青春惊慌失措
    2020-12-28 13:02

    the language level for a project is set in the project structure dialog: project structure dialog you want to make sure you set the language level to java 7, and the sdk accordingly

提交回复
热议问题