How to Install JavaFX on Windows Subsystem for Linux

后端 未结 2 555
没有蜡笔的小新
没有蜡笔的小新 2021-01-23 17:15

I\'m trying to install JavaFX on WSL Ubuntu I just updated and upgraded all my packages and checked that OpenJDK is up to date. If I try to compile anything for JavaFX I get er

2条回答
  •  无人共我
    2021-01-23 17:31

    You should install OpenJFX first

    sudo apt install openjfx
    

    openjdk-11 comes without javafx/openjfx by default.

提交回复
热议问题