简体   繁体   中英

Make Installer for Netbeans (JAVA) Project

I didn't found any appropriate answer for a question. How to make installer for my Netbeans(JAVA) project? Though enough questions are there but not correct ans. Please anyone provide an answer. I'm using JDK 1.6, Netbeans 1.7.1, if Netbeans doesn't care for the job, any separate Installer that can make .exe/.msi, .jar (and may be more or not) installer files so that my project can be distributed in Windows/Linux/Mac etc. Thanks in advance.

Update: I've used SQLite database in my project, may be that's why application doesn't start when I run the .jar file. So any Netbeans Plugin will be appreciated.

Installing an application would mean that you have a set of installation screens which ask for inputs from user like installation location, project specific configuration etc. and then after inputs are recieved you create the installation directory and copy a set of files there and run some code to configure your application.

Now, this is what you need to do then there are couple of open source installation builders that do the job. One of my favourites is InstallJammer. Functionally, it is similar to Installshield (the famous commercial installation builder) and supports most of its features.

It supports all the features required for building a installer. Also, it supports most of the unix/linux flavours and windows as well.

I hear about.. BitRock InstallBuilder

BitRock InstallBuilder is a development tool for building cross-platform installers for desktop and server software. With InstallBuilder, you can quickly create dynamic, professional installers for Linux, Windows, Mac OS X, Solaris and other platforms from a single project file and build environment.

For An open source Solution take a look IzPack

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM