gradle doesn't work in Intellij - problems with JAVA_HOME

后端 未结 5 1988
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-29 04:58
  • I can run gradle from a command line to see its version.
  • I can run, compile and debug a grails app in IntelliJ (version 10.0 or version 10.2)
  • I insta
5条回答
  •  时光说笑
    2020-12-29 05:21

    IntelliJ uses its own jre.

    to force IntelliJ to use it, you need to set the environment variable IDEA_JDK to point to your JDK.

    then simply restart intellij and gradle gui plugin should now work.

提交回复
热议问题