JAVAFx Build Failed

后端 未结 6 866
死守一世寂寞
死守一世寂寞 2020-12-17 00:50

I created an app with JavaFx for windows, which is really cool. I can run it from e(fx)clipse, everthing works fine, but I can\'t make a jar file from the project. I can exp

6条回答
  •  爱一瞬间的悲伤
    2020-12-17 01:29

    I have a little better solution with less modification:

    This fix path issue (just add ext\ to fix issue)

    
        
            
            
        
    
    

    Before doing this, you need to have a jdk1.8.xxx in your installed JREs list, not the jre included in the jdk package but jdk itself.
    Next, in Run\External Tools\External Tools Configuration open the JRE tab and check that Execution environment is CDC-1.1/Foundation-1.1 (jdk1.8.xxx)
    That's all !

提交回复
热议问题