How to install JavaFX?

4

I'm a Linux user (Fedora Workstation 26) and I'm trying to develop an application in JavaFX using Netbeans as IDE, the problem is that I did not find the JavaFX SDK for linux download, and the official download link in Oracle page has been disabled because it says and JavaFX has been implemented in the latest JDKs and JREs.

I would like to know which version of JDK and JRE already comes with JavaFX?

    
asked by anonymous 11.10.2017 / 14:11

2 answers

1

In JDK 7 it comes included, no need for external API, if you want to start use the examples on the Oracle website. link

    
11.10.2017 / 14:32
1

javafx is included in jdk7, however it is not in the classpath. To use it you need to manually add the library to your project.

From jdk8, javafx is already configured in the classpath.

However, I do not know if all the Linux distros are the same, but in ubuntu, just installing openjdk is not enough. It is also necessary to install openjfx.

    
17.11.2017 / 02:03