Use the eclipse package the project for the jar package approach:
- Right project. Select Export ...
- Search jar, and select the JAR file, click finish
- Select the path to export and click finish
- Click on finish
- Select Open main class, click finish
It will be exported jar package items in the specified path