Java creator for mac

broken image

outfile csv-encrypt-tool \ # the output file name without extension, the final file (or bundle which is a directory actually) will be csv-encrypt-tool.app dist \ # where I want the package to be put srcfiles log \ # again, one of my resource directories, path relative to -srcdir srcfiles config \ # another one of my resource directories, path relative to -srcdir srcfiles dict \ # one of my resource directories, path relative to -srcdir srcfiles csv-encrypt-tool.jar \ # my executable jar, path relative to -srcdir csv-encrypt-tool-mac \ # directory where my jar and resource files in (Also there are other helpful tools here: )įor packaging a mac application, I used this command: javapackager \Īnd this is the explanation: -deploy \ # Assembles the application package for redistribution with sys JRE There is a tool, javapackager, shipped with java, can package java application on Windows, Linux, macOS for you. Since some of the links in the accepted answer are no longer available or suitable in 2020, 8 years from the question was asked, I would like to share my findings that I confirmed working today.