I'm trying to run a JavaFX app on Windows. It runs fine on Ubuntu. But on Windows I'm getting the error "Failed to load Glass factory class". A Class Not Found Exception.
edit...
It seems JavaFX jars are not cross platform. Compiling on Linux doesn't create a jar that runs on Windows. Compiling on Windows and including the JavaFX jars in the compile creates a jar that runs even without JavaFX installed.
You can try using Azul's Zulu OpenJDK builds, which bundle OpenJFX, even for JDK 11.