Install openjfx by entering the following commands in the terminal:
sudo apt update sudo apt install openjfx
Description:
JavaFX/OpenJFX 8 - Rich client application platform for Java
JavaFX/OpenJFX is a set of graphics and media APIs that enables Java developers to design, create, test, debug, and deploy rich client applications that operate consistently across diverse platforms.
Homepage: http://openjdk.java.net/projects/openjfx/
Version: 8u161-b12-1ubuntu2
Section: universe/java