Home > Back-end >  Intellij's problem, error: could not find the JDK modules "" "1.8"
Intellij's problem, error: could not find the JDK modules "" "1.8"

Time:12-10

As shown in figure, just download intellij writing Java, a running without problems, but run again after modify the program is shown in figure 1 will jump out of the question, to find the answers are not online, check the projectSDK is right, the only method is to add a new projectSDK, but after modify the program will jump out of the errors, which have a great spirit support a move can ah, please, long plagued
Before that did not give scores, resend again

CodePudding user response:

Is there a friend encountered the same situation, and how to solve

CodePudding user response:

Solve the building Lord, I like you??

CodePudding user response:

refer to the original poster yirandezhanghao response:
as shown in figure, just download intellij writing Java, a running without problems, but run again after modify the program is shown in figure 1 will jump out of the question, to find the answers are not online, check the projectSDK is right, the only method is to add a new projectSDK, but after modify the program will jump out of the errors, which have a great spirit support a move can ah, please, long plagued
Before that did not give scores, resend again



Because java9, Java modularity, so the Java project will more than ever a module file, generally in the SRC folder a moduel - the project name. Java, you is the lack of the file, if not use it with jdk1.8.

CodePudding user response:

Restart the idea
  • Related