Search code examples
javanativelaunchermultiplatform

Multi-platform application launcher


Is there any application that creates an native application launcher of Java application? As the "native" term I mean "looks like normal, platform-dependent application, that only launches the java -jar foobar.jar, and displays the error if there're no JVM installed". I heard about Launch4j, but it only works for Windows. I want multi-platform (Win+Lin+Mac) solution. And I'm not talking about shell scripts; I want normal executable file.

Btw., Eclipse looks that it has got something like that I want.

Regards.


Solution

  • If you are using maven, then it would be very easy to create Native application for all platform, we use launch4j for windows(.exe), for debian(.deb) we use jdeb and for Mac OSX(.app and .dmg) we use osxappbundle.