Error: JavaFX runtime components are missing, and are required to run this application
&
Graphics Device initialization failed for : d3d, sw
If you have encountered either of the previous two error messages while trying to create an executable jar file, this video will help you resolve the issue.
This video shows you how to export a Gluon JavaFX 11 (or above) project to an executable jar file in IntelliJ which can be run on any Windows computer. The process is shown on a Windows machine but the process is the same on Linux and Mac. Instead of .dll files, you use .so files (Linux) or .dylib files (Mac). Good luck and let me know if this works for you.