title: How to run jar files in Mac using JRE?
body: <p>Mac OSX 10.11.14 (El Capatin) does not ship with Java, either the complete development kit (JDK) or the run-time environment (JRE).  My need was to just run a .jar file and not for complete Java development.  So I downloaded the JRE from <strong><a href="http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html" rel="nofollow noreferrer">here</a></strong>, which is a much smaller file compared to JDK (quite obviously).</p>
  
  <p><strong><a href="https://stackoverflow.com/questions/16828076/how-to-run-a-jar-in-mac">This</a></strong> SO answer says that JRE is enough to run jar files.</p>
  
  <p>After installation of JRE I couldn't locate the directory where installation happened or run <code>java</code> command to execute files on my mac.  How do I run jar files now?</p>