When the project starts, the following problems are encountered:
java: Compilation failed: internal java compiler error
The problem is: compilation failure: internal java compiler error
The reason for this problem may be that the JDK version of the project is inconsistent.
The solution is as follows:
1. Check the JDK (Ctrl + Alt + Shift + s) of the project to ensure that it is the JDK version used by the machine. Here, take JDK1.8 as an example.
File ==》Project Structure ==》Project Settings ==》Project
2. Check that the JDK of the project (Ctrl + Alt + Shift + s) is consistent with the JDK of the project.
File = = “project structure = =” project settings = = “modules = = (project name to be modified) = =” sources = = ”
3. Check the Java configuration in idea to make the version consistent with the previous two.
File ==》Setting ==》Build,Execution,Deployment ==》Compiler ==》Java Compiler
After completing the above three steps, restart the project, there will be no problems at the beginning, and the project is started successfully.
Read More:
- IDEA Compile Error: java Compilation failed internal java compiler error
- IntelliJ idea compilation error: Error:java : Compilation failed: internal java compiler error
- [Solved] IDEA java compile error: Error:java: Compilation failed: internal java compiler error
- [Solved] Java: compilation failed: internal java compiler error
- [Solved] IDEA Error: java Compilation failed internal java compiler error
- [Solved] Errorjava Compilation failed internal java compiler error
- [Solved] Error:java: Compilation failed: internal java compiler error 解决办法
- [Solved] IDEA Compile Error: java: Compilation failed: internal java compiler error
- Errorjava Compilation failed internal java compiler error [How to Solve]
- [Solved] IDEA Run Error: Error:java: Compilation failed: internal java compiler error
- [Solved] Error:java: Compilation failed: internal java compiler error
- [Solved] IDEA Compile Error: Error:java: Compilation failed: internal java compiler error
- [Solved] java: Compilation failed: internal java compiler error
- [Solved] Compilation failed: internal java compiler error
- [Solved] IDEA Error: Error:java: Compilation failed: internal java compiler error
- Compilation failed: internal java compiler error[How to Solve]
- Errorjava Compilation failed internal java compiler error [Solved]
- [Solved] Error:java: Compilation failed: internal java compiler error
- Java Error | Error:java: Compilation failed: internal java compiler error
- IDEA Compile Error: Error:java: Compilation failed: internal java compiler error