Intellj中的Gradle项目问题

时间:2019-01-02 14:02:45

标签: java gradle

导入一个节目后,我有一个Gradle项目已导入到Intellj 2018中

同步错误:

The newly created daemon process has a different context than expected.
Java home is different.
Expecting: 'C:\Program Files\Java\jdk1.8.0_66' but was: 'C:\Program Files\Java\jdk1.8.0_66\jre'.
Please configure the JDK to match the expected one.

我交叉检查了所有拾取路径的地方:

  • 检查我计算机中的环境变量,它很好,并且只有一个完整的整数。
  • 在cmd上检查路径命令,它显示相同的单个路径。
  • 检查Intellj,它还会设置Same Java Home路径。

0 个答案:

没有答案
相关问题