Installing SAP Java Connector on Windows

You can install the SAP Java Connector on Windows.

Before you begin

Complete the procedure listed in Downloading the SAP Java Connector.

About this task

To install the SAP Java Connector on Windows:

Procedure

  1. Shut down Sterling B2B Integrator if it is running.
  2. To add the sapjco3.jar and the native libraries to the Windows registry, complete the following steps:
    1. For the operating system-specific libraries, type: install3rdParty.cmd sapjco 3_x_x ( the most recent 3.x.x version) -j directory\*.jar
    2. For the native libraries, type: install3rdParty.cmd sapjco 3_x_x ( the most recent 3.x.x version) -l directory\*.dll
    Two different switches are used in these commands (-j and -l). Ensure that you use the correct switch. If you are using the MySQL database, ensure that the database is stopped after running install3rdParty.cmd.
  3. Run stopWindowsService.cmd.
  4. Run uninstallWindowsService.cmd.
  5. Close the Command window and re-open it.
    Ensure that the path to the sapjco3.dll is added at the end of the Windows System variable <Path>. You can run the echo %PATH% command to verify if the path to the sapjco3.dll is added.
  6. Run InstallWindowsService.cmd.
  7. If you receive a database connection test failure error, in the \bin directory, start MySQL™ using the following command: control_mysql.cmd start
  8. Restart Sterling B2B Integrator.