How to Install JavaFX on Windows Subsystem for Linux

后端 未结 2 554
没有蜡笔的小新
没有蜡笔的小新 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.

    0 讨论(0)
  • 2021-01-23 17:52

    in our course at POLIMI we solved so:

    https://github.com/ingconti/JavaFXWithImagesAndText/blob/master/ReadMeForWSL.md

    by Michele Alziati and me.

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