I have download a jar file. When I run it, I get the message JavaFX runtime components are missing............ I then ran the the following command
sudo apt install openjdk-8-jdk openjfx
Still I am getting the same error.
I have Netbeans 8.1 installed but do not have problems in running sample JavaFX projects. On terminal if I echo $JAVA_HOME, it returns nothing.
The command Java -version return openjdk version 11.0.3 In netbean the platform is set to jdk 8.
So how do i make the externally downloaded jar file use the same jdk version and javafx as used by netbeans.