title: How to bundle Java application for Mac/Windows?
body: <p>I have a Java .jar application that I want to distribute to my clients who are on Macs or Windows. I want to use a tool that takes my jar file and wraps it in a .dmg and a .exe wrapper for Macs and Windows respectively that does this when run:</p>
  
  <ol>
  <li>Checks if JRE is installed; if not, it installs JRE6 from Oracle. Else, it updates installed JRE to latest 1.6.x version.</li>
  <li>Creates a short cut link in Start Menu (in Windows) or the Applications folder (in MacOSX) to my wrapped application and lets my application to run using the above JRE</li>
  <li>Supports easy "uninstall application" for Windows. For Mac, simply drag the .app to Trash to delete.</li>
  </ol>
  
  <p>Optional features:</p>
  
  <ol>
  <li>Support for platform independent app icons</li>
  <li>Support for auto updates to the jar</li>
  <li>Support for arguments to the JRE when running my .jar</li>
  <li>Linux support (.deb or .rpm)</li>
  </ol>