How do I tell Gradle to use specific JDK version?

前端 未结 17 2465
时光取名叫无心
时光取名叫无心 2020-11-22 12:12

I can\'t figure out to get this working.

Scenario:

  • I have an application built with gradle
  • The application uses JavaFX

What I w

17条回答
  •  清歌不尽
    2020-11-22 12:20

    If you have this problem from Intellij, try this options

    1. Set Gradle JVM Home

    2. Set the JDK version in the Project module settings

提交回复
热议问题