Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create MAC application using Java on Windows platform..



Fabrizio Giudici wrote:

the best way of creating an application with Mac OS X is by means of
a "drag and drop installer", this means that the application just
appears as a single icon, you drag in the Applications folder, and
the game is over (this of course assumes that the application doesn't
have to do any special initialization). Look at the jarbundler
project, it's an ant task that allows you to create such an applicaiton.


On Oct 25, 2007, at 16:50 , Koeppen, Sandro wrote:

Hi Laxmilal,
first, I have no idea creating a java application for mac on an
other system, but if you double click your jar archive under mac
os, it normally opens your application if the main class and depend
libraries are defined in the manifest file. Also the developer
tools (free) for mac os provide an app called Jar Bundler that
helps you to create a .app from your java application. I'm sure you
will find a detailed manual in the in internet or at apple help.

That is certainly the best way of installing a Mac app. Most apps do not require an installer (unlike Windows). If you need an installer for other reasons (the app must run as root, for example), you can consider the stub building feature of Install Anywhere. Unless there is compelling reason to do so, however, Mac users will think that an installer is pretty lame. The poster that mentioned IA was pointing out its ability to generate an app bundle. You could use it internally just to create the app bundle, and then distribute the bundle normally. Normally this is done as a .dmg disk image file, which can only be produced on a Mac. Depending on your target audience, you might be able to get away with a .tar.gz file. You can search the archives of this list for other suggestions on how to deploy Java apps on the Mac -- there have been a number of creative ways posted over the years.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden


This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.