Main page
This article instructs how to install JavaFX and run applications requiring it.
Linux
Download SDK for Linux from
Gluon
.
Create an environment variable for Javafx runtime using terminal:
a) for current session: execute
export PATH_TO_FX=[absolute path to its folder]/lib
b) permanently: edit /etc/profile - paste the above command to the end of the file (the path must be enclosed between double quotes, e.g. "/home/alexiy/javafx-sdk-11.0.2/lib"), and restart the system.
Test the runtime by running an application which uses Javafx:
java -jar --module-path $PATH_TO_FX --add-modules javafx.controls some.jar
Windows 7, 10
Download SDK for Windows from Gluon.
Create a system environment variable named PATH_TO_FX with value
[absolute path to Javafx SDK]\lib
Test the runtime by executing command:
java -jar --module-path %PATH_TO_FX% --add-modules javafx.controls some.jar