将Java应用程序转换为Mac安装程序... dmg [英] convert java app to mac installer...dmg
问题描述
我想知道我们是否有任何软件可以将java应用程序转换为.jar文件,将.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.
推荐答案
.dmg文件不是安装程序,而是磁盘工具应用程序(在/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.
这篇关于将Java应用程序转换为Mac安装程序... dmg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!