How to use JavaFX in jdk11?

后端 未结 1 909
眼角桃花
眼角桃花 2021-01-26 22:46

I am a beginner programmer and now I want to start GUI applications in java.(as I previously worked on java too). I started reading some books on FX but its not compiling on JDK

1条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-26 23:08

    JavaFX has become unbundled from JDK11 (both Oracle's official JDK and OpenJDK). In order to use JavaFX with JDK11, you'll have to download the standalone JavaFX11 runtime.

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