tags:

views:

49

answers:

1

I have recently moved to a MacBook Pro, which has meant leaving my beloved JBuilder 2005 behind. Since there is no such thing any more (AFAIK) as a free JBuilder, I'm having to choose a new IDE.

I can't live with the code-formatting of Eclipse (yes, I know, it can be customised up the wazoo, but the fact that it will NOT respect my inserted returns means I can't live with it) so I'm seriously considering NetBeans.

However, I can't find any way of getting it to build a double-clickable Mac application! (I used to use XCode for this step, but it seems that XCode no longer wants to know about Java...) I cannot be the first person who's wanted to do this...can anyone help me with advice as to how to go about it?

Grateful thanks in advance

A: 

If what you want to do is create a java application that the user can launch by double clicking on a Mac, all you have to do is package the app in a jar and ensure that the jar's manifest (META-INF/MANIFEST.MF) includes a line like Main-Class: MyStartClass, giving the class of your app that contains the main method that launches the app.

For more details, see: Bringing your Java Application to Mac OS X Part Three

Jason Jenkins
Many thanks for this and my apologies for responding so late...I expected to receive an email from SO if there were responses. Yes in the end I figured out something like this...did it all via ant with some pre-built files to stuff into the right places in the final bundle.
skiaddict1
If you don't mind, please accept my answer so I get the reputation credit. (Assuming you consider it correct.)
Jason Jenkins
Sorry, I'm not yet used to the system in here :-)
skiaddict1