tags:

views:

366

answers:

4

Hello..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: 

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/

Thorbjørn Ravn Andersen
+4  A: 

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
trashgod
+1  A: 

You can use the Macify Maven Plugin.

Jay Askren
A: 

There is a great tutorial here http://www.centerkey.com/mac/java/

Slava Tysenchuk