How do I tell Gradle to use specific JDK version?

前端 未结 17 2489
时光取名叫无心
时光取名叫无心 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:29

    Android Studio

    File > Project Structure > SDK Location > JDK Location >

    /usr/lib/jvm/java-8-openjdk-amd64
    

    GL

    Install JDK

提交回复
热议问题