File->Project Structure->Project Settings->Modules->Language Level
File->Settings->Build, Execution, Deployment->Compiler->Java Compiler->Target bytecode version
截图