When you go to Export... -> Java -> JAR File , click next to go to the second page of the wizard. There you can Save the description of this JAR in the workspace . When the export is complete, you must have a .jardesc file. You can right-click on it and select Create JAR to export in one step.
source share