Open Jar File Wizard
The Jar File Wizard can be used to export the project as a runnable jar package.
The steps to open the wizard are:
- Select the project content you want to export in the package Explorer. If you want to export all the classes and resources in your project, simply select the entire project.
- Click the File menu and select Export.
- Enter "JAR" in the input box.
- Select the JAR file option to open the wizard.
- Click on the Next button
using the Jar File Wizard
You can do the following on the JAR file specification (Jar description) page:
- Enter the JAR file name and folder
- Only class files are exported by default. You can also export the contents of the source code by ticking 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
Java Project build jar file