Use the SAP JCo Packer tool provided in the distribution zip to merge the native SAP Java Connector libraries into the SAP Connector repository AMP.
Before continuing, make sure you've downloaded all the required files.
The re-packaging is done by using the SAP JCo Packer tool (sap-content-connector-jco-packer-1.x.jar), which helps to create a merged AMP file that's used as the foundation for the installation.
Note
You must have at least Java Version 8 installed in order to run the distributed SAP JCo Packer tool.
-
Prepare the files for merge:
-
Create a new temporary directory and copy the following files into it:
sap-content-connector-jco-packer-1.x.jarsap-content-connector-repo-5.2.x.amp-
sapjco31P_3-20009381.zip(example file name for native Java Connector libraries, downloaded from the SAP Support Portal)Note
The ZIP name could be different, depending on your chosen system architecture.
-
Verify the
sap-content-connector-repo-5.2.x.ampfile size. It should be less than 1 MB.
-
-
Run the merge tool:
Starting from your temporary folder, run the SAP JCo Packer tool:
java -jar .\sap-content-connector-jco-packer-1.x.jarYou'll see a few log statements to show what's happening, and the tool should finally return: Processing finished...
-
Verify the merge:
Verify that the merge is successful and double-check the file size of the
sap-content-connector-repo-5.2.x.ampagain. This should now be much larger than before.Note
Depending on the chosen system architecture of the SAP Java Connector, the repository AMP file may be up to 7 MB. This indicates that the required native SAP libraries are now available inside the AMP file.
-
Copy and save the re-packaged AMP file:
The re-packaged
sap-content-connector-repo-5.2.x.ampfile should now be saved for the future. This is the final file that's needed to install the SAP Connector.Note
You only need to merge the native SAP Java Connector libraries once for a specific release of the SAP Connector.
-
Cleanup:
Once the re-packaged AMP file is saved and stored outside the current temporary folder, you can safely delete the temporary folder.