title: How to create a .app file of my java project to run on mac os
body: <p>I am new to mac. I have a java project. I created a exe of that project using launch4j for window. Now I need to create a application for mac. I java project contains 5 java classes, also referred to some external jars. I found this site  <a href="http://www.centerkey.com/mac/java/" rel="nofollow">http://www.centerkey.com/mac/java/</a>. But I struck when I tried to create the executable jar file. While working on window I used the following commands to create the class files and jar file. </p>
  
  <p>To create class files..</p>
  
  <pre><code>javac one.java two.java -cp mail.jar;sqlite.jar Mainclass.java
  </code></pre>
  
  <p>To create the jar files for the classes created from the above command</p>
  
  <pre><code>jar cvf one.jar one.class
  </code></pre>
  
  <p>I used the same command in mac terminal. But the first command to create the class files doesn't work. Any suggestion....</p>