MacOS executable jar file

I have a separate java application that will be used on the macintosh system, and I do not want to deliver the application as a jar file, given that its source code can be compiled. So, I intend to convert the jar file into some kind of executable file that can be run on MacOS. Is there any way to achieve this? I know that Launch4J generates executables from a jar file. I need a tool that allows me to do this on MacOS. Thnaks.

+2
source share
2 answers

Apple has removed the ability to create Java applications in Xcode because they are trying to use Cocoa exclusively for developers. You could get the old version of Xcode, though.

If you are interested in Launch4J , it looks like this will create a native wrapper for your Mac OS X Java program as Well. So if you like it, I just use Launch4J.

Please note that Launch4J needs some settings for Lion (10.7) and higher: http://code.google.com/p/gradle-launch4j/wiki/MacOSXLion

+1
source

Excelsior JET is now also available for OS X.

Disclaimer: I work for Excelsior.

0
source

All Articles