Creating a JAR file using Eclipse IDE:

Right click on your project, which you want to create a JAR file of. And select Export from the context menu.

Select JAR file from Java folder and click...