...The windows installer contains all necessary files. A Linux and Mac package contains scripts and instructions to install the dependencies, and run KGA. If you download the jar directly, you must have Java 9+, including javafx. Oracle and OpenJDK java runtimes no longer include javaFX, and it must be separately installed. Alternatively https://www.azul.com/downloads/zulu-community/ is a JRE that provides a free 'JRE FX' installable that includes java and javafx. Installing it is the easiest way to run KGA on another OS.
...