Convert .jar to an OSX executable?

后端 未结 5 1165
情话喂你
情话喂你 2020-11-27 15:08

I made a Java application which I would like to distribute on Windows, OSX and Linux without distributing a jar file. I used the great Windows exe wrapper http://launch4j.so

5条回答
  •  半阙折子戏
    2020-11-27 15:58

    JarBundler is obsolete, but there is a (better) official replacement: the javapackager tool.

    For OSX, A simple, well explained, step by step tutorial on how to create a DMG from java is here: http://centerkey.com/mac/java/ . For other platforms, you just need to modify the example by using the proper switches in javapackager.

提交回复
热议问题