如何为多平台制作java桌面应用程序的安装程序?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/979572/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 21:49:47  来源:igfitidea点击:

How to make installer of java desktop application for multi-platform?

javainstallercross-platformmultiplatform

提问by

How could we made a jar file's installer, which can run on multi-platform. Is there any simple way, because I don't know Java much well.

我们如何制作一个可以在多平台上运行的 jar 文件的安装程序。有没有什么简单的方法,因为我不太了解Java。

Balwant

巴尔旺特

回答by Cogsy

izPackis pretty nifty and supports multi-platform installations.

izPack非常漂亮并且支持多平台安装。

回答by Thorbj?rn Ravn Andersen

If the target audience have access to the web, you could have a look on Java Web Start which allows you to basically do all you need.

如果目标受众可以访问网络,您可以查看 Java Web Start,它基本上可以满足您的所有需求。

It requires the user to click a link and download.

它要求用户单击链接并下载。

回答by Jonik

Installer tools for Java have been dealt with in quite many questions on SO, and most options have probably been mentioned already:

Java 的安装程序工具已经在很多关于 SO 的问题中得到了处理,并且大多数选项可能已经被提及:

See also other questions tagged java+installer.

另请参阅标记为 java+installer 的其他问题。

If a commercial tool is ok, the best multi-platform installer for Java software, to my knowledge, is install4j; I can definitely recommend it (more about my experiences with it).

如果商业工具没问题,据我所知,最好的 Java 软件多平台安装程序是install4j;我绝对可以推荐它(更多关于我的经验)。

回答by Daniel Lopez

Nearly half of our BitRock InstallBuildercustomers use it for Java deployment. It is multiplatform and runs in all the major platforms such as Windows, Linux, Mac, Solaris, HP-UX (and most of the obscure ones too :)

我们近一半的BitRock InstallBuilder客户使用它进行 Java 部署。它是多平台的,可以在所有主要平台上运行,例如 Windows、Linux、Mac、Solaris、HP-UX(以及大多数不起眼的平台:)

回答by Krishna

Well the best way is to use InstallAnywhere that is good for install or packagging any of the applicaion in desktop.

最好的方法是使用 InstallAnywhere,它适合在桌面上安装或打包任何应用程序。

here theInstallAnywherego to site register your self and download one trial verson.

在这里InstallAnywhere去站点注册你自己并下载一个试用版。