Java11 / JavaFX and Maven will not run outside of NetBeans IDE 9

前端 未结 2 1888
不知归路
不知归路 2021-01-01 21:59

As per JavaFX deployment library not found in active JDK

I used José Pereda Maven approach and it works well in NetBeans but as soon as I try and run it outside wi

2条回答
  •  时光说笑
    2021-01-01 22:45

    One way to fix that would be to append the following args to the command line

    --add-exports=javafx.graphics/com.sun.javafx.util=ALL-UNNAMED
    

提交回复
热议问题