How to make jar file from javaFX project

前端 未结 2 347
暗喜
暗喜 2020-12-10 05:41

I have javaFX project, with which i\'m working on Eclipse IDE. This is Maven project with using of Spring. My goal is to make runable jar file (dekstop application) from thi

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-10 06:46

    Going from the suspicion that the underlying problem is due to an incompatibility between jfxrt.jar and the version of Java installed worked for me. The jfxrt.jar the application was using was compatible with jdk-7u71, yet the application was on a machine where JAVA_HOME was set to 7.0.05. So I installed jdk-7u71 on the problem machine and updated JAVA_HOME.

提交回复
热议问题