This question already has an answer here:
- Convert .Jar to .Dmg 4 answers
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.
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.
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.
You can use the Macify Maven Plugin.
来源:https://stackoverflow.com/questions/2174849/convert-java-app-to-mac-installer-dmg