Convert .Jar to .Dmg

I have a java application with jar file and a lib folder to go with it,and i want to bundle my application along with the lib files and folders into a .DMG file to run on MAC OS x so if anybody has a similar experience please help me out.

Thanks in advance


You put all your files in one folder together. Then you open the Disk Utility (Applications -> Utilities -> Disk Utility) and choose "New Image from folder..."

That's all.


You might want to make a dmg disk image from the makefile/build file:

hdiutil create -srcfolder <directory> <dmg_file_name>.dmg