convert java app to mac installer…dmg [duplicate]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-18 02:57:12

问题


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.


回答1:


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.




回答2:


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/




回答3:


You can use the Macify Maven Plugin.



来源:https://stackoverflow.com/questions/2174849/convert-java-app-to-mac-installer-dmg

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!