2015-02-23 62 views
0

我使用Maven開發了一個JavaFx應用程序。我在Ubuntu操作系統上開發它,所以當我運行mvn clean jfx:native時,我得到一個.deb文件。我怎樣才能做一個Windows安裝程序?如何在JavaFx中爲Windows創建自包含的應用程序?

我的pom.xml:

<plugin> 
       <groupId>com.zenjava</groupId> 
       <artifactId>javafx-maven-plugin</artifactId> 
       <version>8.1.2</version> 
       <configuration> 
        <mainClass>com.company.app_name.Main</mainClass> 
        <jvmArgs> 
         <argument>-Dcom.sun.javafx.isEmbedded=true</argument> 
         <argument>-Dcom.sun.javafx.touch=true</argument> 
         <argument>-Dcom.sun.javafx.virtualKeyboard=javafx</argument> 
        </jvmArgs> 
       </configuration> 
      </plugin> 

謝謝。

回答

相關問題