title: Difference between .jar file and .java file
body: <p>I am trying to compile my java project I have coded in Eclipse, using the <code>javac &lt;name&gt;.java</code> command in the terminal on mac. However, when I export the project I have created, it is exported as a <code>.jar</code> file. Can anyone tell me how to convert this to a java file, how to export the project as a <code>.java</code> file, or simply the difference between a <code>.jar</code> file and <code>.java</code> file?</p>