Eclipse generates jar package
Open Jar File Wizard
The Jar file wizard can be used to export the project into a runnable jar package.
The steps to open the wizard are:
Select the project content you want to export in Package Explorer. If you want to export all classes and resources in your project, just select the entire project.
Click the File menu and select Export.
Enter "JAR" in the input box.
#Select the JAR file option in the options to open the wizard.
Click the Next button
Use the Jar file wizard
On the JAR File Specification page, you can perform the following Operation:
Enter the JAR file name and folder
By default, only class files are exported. You can also export the source code content by checking the "Export Java source files and resources" option.
Click the Next button to modify the JAR package options
Click the Next button to modify the JAR Manifest description information
Click the Finish button to complete the operation