JavaFx 2.0 application referencing external jars

前端 未结 3 1254
耶瑟儿~
耶瑟儿~ 2020-12-20 04:04

I\'m developing a JavaFx 2.0 application using Netbeans 7. The main application references another class library project added by rightclicking the \'Libraries\' folder and

3条回答
  •  生来不讨喜
    2020-12-20 04:06

    You need to tell the fx:jar task what your classpath dependencies are:

    
          
          
            
            
            
          
    
          
          
            
          
    
    

    You also need to use fx:resources tag in your fx:deploy task instead of just resources. That should resolve the last two problems left in your answer.

提交回复
热议问题