Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I create a Mac installer for my Java application?

I have created an executable JAR file for my Java application. If I double-click then it works fine. But I want to create installer for Mac OS, because I cannot give a JAR file to my users. Any suggestions?

like image 820
Sunil Kumar Sahoo Avatar asked Oct 08 '09 07:10

Sunil Kumar Sahoo


2 Answers

Well, all you have to do here is to create a beautiful icon for your app, bundle it to your jar file to make it look more sophisticated, instead of using the default coffee cup icon.

Here is how you can do it:

http://www.centerkey.com/mac/java/

Please read the sessions starting from session 7.

Mac has java by default. And if your users are not technical, it makes no different for them if they are using a mac .exe or not, right?

like image 65
Winston Chen Avatar answered Oct 03 '22 23:10

Winston Chen


Just a comment to clear some of this up. Mac applications normally dont have installers. At all. They dont have a registry and normally you just drag the icon (which is actually a folder with the executables in a specific folder structure) into the applications folder. Thats it. Thats why if you have an executable with a nice icon and you put it in a .dmg image file nobody is gonna know the difference.

like image 24
Mark Lakewood Avatar answered Oct 03 '22 23:10

Mark Lakewood