0

I am a noob in creating installer. I have a java application that uses C++ shared Library through JNI. Now I want to create an installer for MAC OSX. And as the shared libraries are needed to run the app so we need to copy the dependent libs folder also. I have tried in several ways and searched thousands of time but everybody is referencing their tools for this purpose. Can anyone suggest me that how can I create installer for MAC OSX?

Please give a full manual or howtos as I have mentioned earlier that I am a noob.

Thanks in advance.

Naseef Chowdhury
  • 2,357
  • 3
  • 28
  • 52
  • Are the shared libraries part of your software, or are they open-source, third-party software? – Marc Glisse Jan 26 '15 at 12:37
  • On linux, you can have a shell script which does it or you need to create a package-manager specific package. – khajvah Jan 26 '15 at 12:38
  • Your question is too broad. Start with picking one or the other: OS X or Linux. Then start with asking how to create a distributable application package for that OS. Then after you have that, an installer. – martinez314 Jan 26 '15 at 14:16
  • @whiskeyspider I thought installer in MAC and linux will be similar as both are UNIX like OS, that's why asked for two platforms in a single question. However, I have edited my question. – Naseef Chowdhury Jan 26 '15 at 16:35
  • @MarcGlisse the shared libraries are part of my software. – Naseef Chowdhury Jan 26 '15 at 16:35
  • You can put your dependent libraries into your fat JAR and load them manually at runtime with System.load() and by using this trick: http://stackoverflow.com/questions/320542/how-to-get-the-path-of-a-running-jar-file You can create a Mac installer (app file) with PackR or with JNDT (I'm the author of this Ant based tool). – gouessej Apr 20 '15 at 12:15

0 Answers0