Must add jfxrt.jar to classpath manually.