Eclipse generates a jar package
May 24, 2021
Eclipse
Table of contents
Eclipse generates a jar package
Open the Jar file wizard
The Jar file wizard can be used to export items as run jar packages.
The steps to open the wizard are:
-
Select the item content you want to export in Package Explorer.
If you want to export all the classes and resources in your project, simply select the entire project.
-
Click on 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
The following can be done on the JAR File Specification 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 option
-
Click the Next button to modify the JAR Manifest description
-
Click the Finish button to complete the operation