Idea 运行 project的时候出现如下报错。
Cannot run program "D:\Java\RedHat\java-1.8.0-openjdk-1.8.0.121-1\bin\java.exe" (in directory "D:\..."): CreateProcess error=2, The system cannot find the file specified.
首先在file-Project Structure-SDKs 配置好jdk路径,然后再观察目录是否存在java.exe 文件。