file->project structure->project file->project structure->Modules->sources preferences->build,Excution,Deployment->compiler->java compiler