如何使Java程序安装? [英] How to make Java program installable?

查看:124
本文介绍了如何使Java程序安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的Eclipse工作区中保存了一个应用程序。



我可以将其导出为 .jar 文件。



这是一个真实世界的应用程序



如何导出为.exe文件或.dmg,以便可以安装在另一台机器上?



由于Java与平台无关,我认为这是针对特定操作系统导出的问题。



我已经google了很多,阅读了这么多不同的故事,所以我更喜欢有经验的人的答案。

解决方案

我想你要找的是不仅使程序运行(如提议的lobster1234),而是使其实际安装。最近我们使用了 IzPack 。实际上看起来不错

还有一些体面的教程细节此处此处


How can I make a java program installable?

I have an application saved in my Eclipse workspace.

I can export it as a .jar file.

This is for a "real-world" application.

How can I export to be a ".exe" file or ".dmg" so that it can be installed on another machine?

Since Java is platform-independent I think it is a matter of exporting for a specific operating system.

I've googled a lot and read so many different stories, so I would prefer an answer from an experienced person.

解决方案

I guess what you are looking for is not only to make the program runnable (as lobster1234 proposed) but to make it actually installable. We have recently used IzPack. It actually looks nice.

There are also some decent tutorials on the details here and here

这篇关于如何使Java程序安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆