OpenJDK does not work with javafx

2019-09-15 18:32发布

I have just installed Fedora 21 on my laptop and installed OpenJDK8(JDK), Netbeans and SceneBuilder.When I create a new JavaFX project the following message appears: enter image description here I can only fix it if I add the Oracle Java 8 under Manage Platform. How can I get these done with OpenJDK only?

1条回答
smile是对你的礼貌
2楼-- · 2019-09-15 19:34

Where from did you install openjdk? If used the one coming from fedora it does NOT have javafx with it which sort of is ok from the fedora point of view because JavaFX - although it is an openjdk project - is not jsred and so there's not must to include it.

IIRC the problem for Fedora and other linux distros was/is that they did not get some of the native parts built from Source which is something they require for all stuff they ship!

查看更多
登录 后发表回答