Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

convert java app to mac installer...dmg [duplicate]

Tags:

java

macos

dmg

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.

like image 748
sneha Avatar asked Feb 01 '10 05:02

sneha


People also ask

How do I make a jar file executable on a Mac?

jar is executable. Because Mac OS X ships with the Jar Launcher application, the end user needs only double click on the jar file and the application will launch. To make the jar file executable, the manifest must include the name of the Main class file.

How do I convert DMG to APP on Mac?

Double-click the DMG file to make its content available (the name will show up in the Finder sidebar), and a window generally opens also showing the content. Drag the application from the DMG window into the Applications directory to install (you may need an administrator password). Wait for the copy process to finish.

Can Java application run on Mac?

On the other hand, every version of Mac OS X is a system ready to run your Java application. Included in Apple's operating system is both the JRE and JDK for J2SE v1. 3.1.


1 Answers

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.

like image 70
Ned Deily Avatar answered Sep 30 '22 11:09

Ned Deily