IntelliJ Gradle Plugin: The supplied javaHome seems to be invalid

前端 未结 14 700
暗喜
暗喜 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:16

    IDEA comes in 2 versions: 32bit and 64bit.

    Your JAVA_HOME is 64bit version of Java so you have to run 64bit version of the IDEA ...\IntelliJ\IntelliJ IDEA Community Edition 14.1.2\bin\idea64.exe.

    Otherwise, you can provide 32bit JDK or tweak the behaviour with IDEA settings https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under

提交回复
热议问题