After you create a Java project and add a callout library and Java package and class, you can export the project by exporting the JAR file.
Procedure
Right-click the project you want to export, and then click
Export from the pop-up menu.
The
Export window opens.
Type
jar file in the
Select an export destination field, and then click
Next.
The
JAR Export window opens.
Select the resources to export, and then type the export destination where you want to save the JAR file; or you can select a file repository by clicking
Browse. After that, click
Finish.