title: Java applications for mac
body: <p>I have never used mac before so I have a question about best way of running java application on mac, since I didn't really find a good answer online.</p>
  
  <p>So I've build a java application and I have to send it to a client that is using mac. I know that you can run <code>.jar</code> on mac using <code>java -jar app.jar</code> from terminal, but I want a double-clickable icon that a client can only click on and start the program. </p>
  
  <p>I've seen some tutorial where someone has made a <code>.jar</code> file that you only double click on and the program starts in macos, so I am not sure if you can run a <code>.jar</code> in macos as executable only by double clicking on it?</p>
  
  <p>One other solution that I saw was to make a simple <code>.command</code> file that would run the app using <code>java -jar app.jar</code>. So I want to know what is the best way of making an executable for mac from a <code>.jar</code> file?</p>