File-->Setting...-->Build,Execution,Deployment-->Compiler-->Java Compiler 设置相应Module的target bytecode version的合适版本(跟你jkd版本一致)。

IDEA Error:java: Compilation failed: internal java compiler error_java

 

 IDEA Error:java: Compilation failed: internal java compiler error_java_02

 

 IDEA Error:java: Compilation failed: internal java compiler error_java_03