I have an executablle Jar which is compiled with JDK 1.7.

My computer has java version "11.0.1" 2018-10-16 LTS,Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)

I am on ubuntu.

When I run the jar using java -jar run.jar I get a message

Error: JavaFX runtime components are missing, and are required to run this application

I have downloaded the OpenFX11 - can this work with this? <https://openjfx.io/>

Or is there a different JavaFx available?

what will be the syntax for the command to make the runtime use the downloaded javafx lib, classpath doesn't seem to work