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.
Asked
Active
Viewed 1.2k times
3 Answers
5
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.

Ned Deily
- 83,389
- 16
- 128
- 151
-
2+1 for hdiutil. There's an ant example here: http://robotchase.svn.sourceforge.net/viewvc/robotchase/trunk/build.xml?revision=66&view=markup – trashgod Feb 01 '10 at 17:32
3
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.

Thorbjørn Ravn Andersen
- 73,784
- 33
- 194
- 347