PDA

View Full Version : Java to .app




Texas04
May 14, 2007, 04:19 PM
My question is how to change a .java program to a .app program for OS X.

I have finished a game in Windows (Hangman) using Java, however I can only play this game when I open up Windows on my Mac, run JCreator, and execute the project. I wanted to know if there is any where that I can go to bundle the program into a .app file that will run on my mac.

Thanks in advance!

I am using Java JDK 1.6



jeremy.king
May 14, 2007, 04:27 PM
I wanted to know if there is any where that I can go to bundle the program into a .app file that will run on my mac.

Jar Bundler is your tool... http://developer.apple.com/documentation/Java/Conceptual/Jar_Bundler/index.html?http://developer.apple.com/documentation/Java/Conceptual/Jar_Bundler/Introduction/chapter_1_section_1.html#//apple_ref/doc/uid/TP40000884-CH201-TPXREF101


I am using Java JDK 1.6
Keep in mind, SE 6 is only Developer preview in OS X and rumored to be Leopard only. You may want to drop down to 5 if you plan to distribute this.