IntelliJ Gradle Plugin: The supplied javaHome seems to be invalid

前端 未结 14 643
暗喜
暗喜 2020-12-23 08:41

Similar to:
- Intellij 14 the supplied javaHome seems to be invalid
- Android Studio - supplied javaHome is not a valid folder

However, I am trying to use

相关标签:
14条回答
  • 2020-12-23 09:37

    Try manually setting a JDK from File > Project Structure > Project > Project SDK, Then rebuild.

    0 讨论(0)
  • 2020-12-23 09:41

    The problem lies in Intellij IDEA itself. If you go to Intellij installed directory, you will find a jre directory where it's searching for the above said java.exe. But the problem here is there is no bin directory here instead another jre directory available.So, solution is upfront. copy all the contents from inner jre directory and put it in outer jre directory.

    0 讨论(0)
提交回复
热议问题