If you run "java -jar killer-app.jar" on a machine where JavaFX SDK was installed with a simple "unzip" (like a Mac), you will get the following error:
Because the Java FX launcher does not know where to find the runtime, it falls back to the default location.
Unable to read ../rt/lib/jfxrt.jar Unable to read ../../../../rt/lib/jfxrt.jar Unable to read ../../sdk/rt/lib/jfxrt.jar Unable to read ../../../artifacts/sdk/rt/lib/jfxrt.jar
To solve this problem, just pass the system property:
javafx.runtime.pathwith the JavaFX SDK location at start:
java -Djavafx.runtime.path=[THE UNZIPPED JAVA FX SDK]/rt -jar killer-app.jar
Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition
airhacks.fm the podcast:
Stay in touch: airhacks.news.