jar file into a native Windows executable (.exe). Launch4j is a tool that wraps an executable. In my process of creating cross-platform installers, Apache Ant serves the main control center. Many third party tools can be incorporated directly into Ant by using their supplied tasks. Apache Ant is also extensible, and custom tasks can be created for it. While it can be used for building any kind of software, it is targeted for Java applications and includes tasks to compile Java code, create jar files, create Javadoc API documentation, etc. It is a build tool that comes with many built-in tasks, for things such as moving and deleting files, creating folder structures, archiving files, etc., to build and packages applications. Most Java developers should be familiar with Apache Ant. The following are the tools I used to create the installers. This approach requires a lot more work than would be needed using a commercial solution, but this is the price for having something for free. In my search for a free solution, the first thing I had to accept was, that no single solution would meet all of my needs, and instead, I would need to us a combination of different tools. ![]() In this article, I will provide an overview of how I approached this problem, while developing PWMinder, using a combination of open source tools and I hope this will provide a framework for those of you facing similar issues. There are several commercial solutions available, but these cost in the range of $500 to $2000, which may be a bit steep for an independent software developer. As most Java developers have come to realize, one of the most challenging aspects of developing cross-platform Java applications, is how to deploy them, in the most native way possible, to their various target platforms e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |