Java packaging tools - alternatives for jsmooth, launch4j, onejar

前端 未结 9 1436
慢半拍i
慢半拍i 2020-12-08 01:02

I have used these three open source tools for packaging my java apps, but they all look like abandon-ware now. All three are very good pieces of software. What are the optio

相关标签:
9条回答
  • 2020-12-08 01:27

    Have you tried IzPack (http://izpack.org/)?

    0 讨论(0)
  • 2020-12-08 01:27

    Maven 2 provides the ability to create a jar which contains all the dependencies as part of its assembly plugin. This combined with the jar plugin configuration of the manifest file (and specifically setting Main-class to the Class with main) is all you need to do basic packaging.

    To some extent Java web start is now considered the better way to distribute Java applications and Maven 2's assembly capability combined with web start gets you everything you need without going via the exe route.

    0 讨论(0)
  • 2020-12-08 01:36

    Since none of the answers were approved, and JavaFX 2.2 has not been mentioned above (was not available at the time of the answers) here goes:

    JavaFX 2.2 (part of Java Runtime and SDK since 7u6) allows building native exe/dmg/rpm's that tag along the full RT component as well. I believe this is a valid answer to your need, as well as an officially supported solution from Oracle.

    https://blogs.oracle.com/talkingjavadeployment/entry/native_packaging_for_javafx

    0 讨论(0)
提交回复
热议问题