score:21

i use ubuntu 16.04 and because i already had openjdk installed, this command have solved the problem. don't forget that javafx is part of openjdk.

sudo apt-get install openjfx

score:154

according to the packages list in ubuntu wily xenial bionic there is a package named openjfx. this should be a candidate for what you're looking for:

javafx/openjfx 8 - rich client application platform for java

you can install it via:

sudo apt-get install openjfx

it provides the following jar files to the openjdk installation on ubuntu systems:

/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/jfxrt.jar
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfxswt.jar
/usr/lib/jvm/java-8-openjdk-amd64/lib/ant-javafx.jar
/usr/lib/jvm/java-8-openjdk-amd64/lib/javafx-mx.jar

if you want to have sources available, for example for debugging, you can additionally install:

sudo apt-get install openjfx-source

Related Query

More Query from same tag