If you want to distribute your project as jar or as executable jar, you might need follow a very simple steps.
1. you can click on the project, go to File –> Export.
2. Select jar and a dialog will come up.
3. Then, just select your options and you should be set.