Setting JavaFX 2 Runtime At Start (And Solving "Unable to read ../rt/" Problem) 📎
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
Because the Java FX launcher does not know where to find the runtime, it falls back to the default location.To solve this problem, just pass the system property:
javafx.runtime.path
with the JavaFX SDK location at start:
java -Djavafx.runtime.path=[THE UNZIPPED JAVA FX SDK]/rt -jar killer-app.jar