将 java 应用程序转换为 mac 安装程序...dmg

发布于 2024-08-20 00:03:33 字数 76 浏览 4 评论 0原文

我想知道我们是否有任何软件可以将 java 应用程序(我的意思是 .jar 文件转换为 .dmg 文件)(Mac 的安装程序)。提前致谢。

I would like to know do we have any software to convert java app i mean .jar file to .dmg file (installer for mac).Thanks in Advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

我最亲爱的 2024-08-27 00:03:33

.dmg 文件不是安装程序,而是一个磁盘映像文件 。如果您想让某些内容可供分发,最简单的方法是创建一个新文件夹(目录),将要分发的所有文件和文件夹复制到其中,然后使用 OS X 磁盘工具应用程序(在/Applications/Utilities中)或命令行 hdiutil实用程序从文件夹的内容创建新的磁盘映像文件。

A .dmg file is not an installer, it's a disk image file. If you want to make something available for distribution, the easiest way is to create a new folder (directory), copy all of the files and folders you want to distribute into it, and then use either the OS X Disk Utility application (in /Applications/Utilities) or the command line hdiutil utility to create a new disk image file from the contents of the folder.

客…行舟 2024-08-27 00:03:33

使用从 Apple Developer Connection 下载的 XCode 中的“Jar Bundler”。

http://developer.apple.com/technology/xcode.html

您将需要注册一个免费帐户。


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

Use "Jar Bundler" in the XCode download from Apple Developer Connection.

http://developer.apple.com/technology/xcode.html

You will need to register for a free account.


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

怀念你的温柔 2024-08-27 00:03:33

您可以使用 Macify Maven 插件

You can use the Macify Maven Plugin.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文