Latest web development tutorials

Eclipse generating jar package

Open Jar File Wizard

Jar File Wizard can be used to export the project to be run jar package.

To open the wizard as follows:

  • Select the item you want to export content in the Package Explorer. If you want to export all project classes and resources, you can just select the entire project.
  • Click the File menu and choose Export.
  • In the input box "JAR".
create_jar_1
  • Select the JAR file option is turned on in the options wizard.
  • Click the Next button

Use Jar File Wizard

In the JAR File Specification (JAR file description) page can do the following:

  • Enter the name of the JAR file and folder
  • Default export only class files. You can also export the source content by checking the "Export Java source files and resources" option.
create_jar_2
  • Click the Next button to modify JAR package options
  • Click the Next button to modify the description of JAR Manifest
  • Click the Finish button to complete the operation