.jar to app

Discussion in 'Mac Programming' started by Joedirt9988, Jul 16, 2010.

  1. Joedirt9988 macrumors newbie

    May 5, 2010
    How to I take a .jar GUI programmed and turn it into a double click program that i can run. Basically i want a .jar to turn into something I can put into my applications folder and a double click run.

    Any help will be appreciated
  2. Avizzv92 macrumors regular

    Mar 23, 2008
    I haven't used it in a long time but I believe the application your looking for is called Jar Bundler, located in the Developer Folder -> Applications -> Utilities.
  3. mrbash macrumors 6502

    Aug 10, 2008
    You can use the JAR Bundler app, but you can also create the JAR file with the correct manifest.inf data. That is probably a more platform neutral way to resolve your problem.

    Simply include the line:
    Main-Class: <fully qualified class name>

    in your mainfiest.inf file.

    Any system with an installed JRE will be able to execute that jar file.

Share This Page