Idea run project error Cannot run program "C:\Program Files\Java\jdk1.8.0_121\bin\java.exe...Solution

In the case that the environment variables are configured intact, basically the configuration of the idea can check the following points in addition to the problem.

1. SDKs check

Insert picture description here

2. Path check

Insert picture description here

3. Project configuration check

Insert picture description here

Guess you like

Origin blog.csdn.net/david2000999/article/details/114894073