如何为Java应用程序创建Mac安装程序? [英] How do I create a Mac installer for my Java application?

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

问题描述

我已经为我的Java应用程序创建了一个可执行JAR文件.如果我双击,则可以正常工作.但是我想为Mac OS创建安装程序,因为我无法将JAR文件提供给我的用户.有什么建议吗?

I have created an executable JAR file for my Java application. If I double-click then it works fine. But I want to create installer for Mac OS, because I cannot give a JAR file to my users. Any suggestions?

推荐答案

好吧,您要做的就是为您的应用创建一个漂亮的图标,将其捆绑到jar文件中,以使其看起来更复杂,而不是使用默认的咖啡杯图标.

Well, all you have to do here is to create a beautiful icon for your app, bundle it to your jar file to make it look more sophisticated, instead of using the default coffee cup icon.

这是您的操作方法:

http://www.centerkey.com/mac/java/

请阅读从会议7开始的会议.

Please read the sessions starting from session 7.

Mac默认情况下具有Java.而且,如果您的用户不是技术用户,则无论他们是否使用mac .exe,对他们来说都没有区别,对吧?

Mac has java by default. And if your users are not technical, it makes no different for them if they are using a mac .exe or not, right?

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

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