We currently have a product that was built using Java 8 a few years back. We are now in the process of updating our software's UI using JavaFX and need it to run with Java 11. We want to be able to progressively move towards Java 11, without losing the ability to use our products with Java 8. So far, I have been able to build and run my product using Java 8, however, when I try to run using Java 11, I get the error :
Error: JavaFX runtime components are missing, and are required to run this application.
In my
Settings >> Project Settings
my SDK is set to azul-1.8-fx and I have imported the Java 11 SDK into my
Settings >> Libraries
to try and get it to run with the JavaFX 11 components, however, I still get the same error.
If anyone knows the proper way to build and run on different versions of Java, the help would be greatly appreciated.
I have attached a copy of my Project Settings as well as my SDK Settings