JavaFX .exe file Failed due to exception in main class

不打扰是莪最后的温柔 提交于 2019-12-02 09:16:45

Found out myself: the issue were VM parameters I added in the build.xml in the fx:platform / fx:jvmarg section. These params were put into the package.cfg file which is called from the .exe file to initialize the VM.

Obviously some of the operating systems I used to install the tool did not have the correct Java setup (it is not about classpath settings, I checked that beforehand too) so the VM crashed before being able to instantiate the tool and therefore my custom error logger.

After removing the error causing VM params (parameters for debugging, security manager and the location of the policy file) it worked on all Windows platforms (7/8/10) as it should.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!