简体   繁体   English

为Netbeans(JAVA)项目制作安装程序

[英]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? 如何为我的Netbeans(JAVA)项目制作安装程序? 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. 我正在使用JDK 1.6,Netbeans 1.7.1,如果Netbeans不关心这项工作,任何单独的安装程序可以使.exe / .msi,.jar(可能更多或不是)安装程序文件,以便我的项目可以在Windows / Linux / Mac等中分发。提前感谢。

Update: I've used SQLite database in my project, may be that's why application doesn't start when I run the .jar file. 更新:我在我的项目中使用过SQLite数据库,这可能是我运行.jar文件时应用程序无法启动的原因。 So any Netbeans Plugin will be appreciated. 所以任何Netbeans插件都将受到赞赏。

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. 我最喜欢的一个是InstallJammer。 Functionally, it is similar to Installshield (the famous commercial installation builder) and supports most of its features. 从功能上讲,它类似于Installshield (着名的商业安装构建器)并支持其大部分功能。

It supports all the features required for building a installer. 它支持构建安装程序所需的所有功能。 Also, it supports most of the unix/linux flavours and windows as well. 此外,它还支持大多数unix / linux风格和窗口。

I hear about.. BitRock InstallBuilder 我听说.. BitRock InstallBuilder

BitRock InstallBuilder is a development tool for building cross-platform installers for desktop and server software. BitRock InstallBuilder是一个开发工具,用于构建桌面和服务器软件的跨平台安装程序。 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. 使用InstallBuilder,您可以从单个项目文件和构建环境快速为Linux,Windows,Mac OS X,Solaris和其他平台创建动态,专业的安装程序。

For An open source Solution take a look IzPack 对于开源解决方案,请查看IzPack

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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