Skip to Content
Technical Articles
Author's profile photo Adalid Andrés Hernández

How to create JAR File in NWDS

Overview

Once our Java development is done, is time to create the JAR file, this JAR is used for Java Mapping in the Operation Mapping within the ESR Tool.

Below small document covers some importants steps to create correctly the JAR File in NWDS.

 

Right clic on the Java Class:

Export%20option

Once Export wizard is started:

Export%20Window

If JAR option is not showed (normally is under Java Folder), type JAR, select it and clic on Next:

JAR%20File%20option

Here we have different options we can follow accordingly we our requirement, for our purpose we will keep our current project in the resources to export and add a name for the JAR file and destination in export destination section, clic on Next :

In the last options we can leave it as it is, just clic on Finish button:

We can confirm JAR File has been created,check Referenced Libraries folder and also the folder we selected in the destination section:

 

And that’s all, hope, you like the post, I am looking forward to receiving your comments to the post.

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Daniel Graversen
      Daniel Graversen

      Hi Adalid

      One important thing is that you have both the source code and the binary to other people later will be able to support and migrate the code.

      I did some time ago write about using Ant to create the jar

      https://blogs.sap.com/2014/06/22/creating-jar-files-from-nwds-using-ant/

      It gives you the option to create the same archive each time much easier.

       

      Daniel