The SAP Java Connector file, sapjco.jar, is a middleware component that enables the development of SAP-compatible components and applications in Java. This component is required by the SAP BAPI OTD Wizard to create BAPI and RFC OTDs during design time, and to support inbound and outbound SAP server communication during runtime.
Since we are installing the SAP Java Connector as standalone component, certain installation files are required. Download the installation files from SAPNet at http://service.sap.com/connectors/. Once logged in, this link redirects you to SAP Service Marketplace. Click the following links to access the SAP Java Connector (SAP JCo) tools and services page:
SAP NetWeaver > SAP NetWeaver in Detail > Application Platform > Connectivity > Connectors > SAP Java Connector > Tools & Services |
The following section details the basic guidelines for installation.
Create a directory.
For example
C:\SAPJCo |
and extract the JCo ZIP file into this directory.
Copy the files librfc32.dll and sapjcorfc.dll from your SAP JCo main directory to
C:\WINNT\SYSTEM32 |
Make sure that the version that is already there is not a more recent version than the one that is delivered with the SAP JCo.
Copy the file sapjco.jar from your SAP JCo main directory to
<JavaCAPS6>\netbeans\lib\ext |
Where <JavaCAPS51> is the Sun Java Composite Application Platform Suite install directory.
The sapjco.jar file is also required during runtime. For this, add the JAR file to
<JavaCAPS6>\netbeans\is\lib |
Download the following DLL files:
msvcp71.dll
msvcr71.dll
These are available, free of charge, from various sources on the Internet:
Manually add the DLL files to the following location:
c:\WINNT\system32 |
Restart both Netbeans IDE and the domain after installing the JAR file.
The instructions for the installation of SAP JCo on other operating systems are included in the corresponding download files.
On UNIX operating systems, add the OS specific shared lib files to the library path.
Check the SAP BAPI Adapter readme to confirm the supported operating systems.
Copy the JCo JAR file to the following location before deploying and running command line code generation.
\compile\lib\ext |
Copy the JCo JAR file to the c:\Sun\ApplicationServer\lib folder before deploying and running via the Sun Java™ System Application Server Enterprise Edition 8.1.
Copy the JCo JAR file to the following location before deploying and running via the WebLogic Application Server, version 9.1.
c:\bea\weblogic91\samples\domains\wl_server\lib |
The SAP Java Connector file, JCo version 2.1.6 is not backwards compatible with previous versions, such as 2.1.3. Confirm backwards compatibility issues with SAP before attempting to switch between different JCo versions on different machines.
SAP BAPI Adapters can run on a 64-bit JVM, but only after the correct 64-bit JCo files (version 2.1.3 or later) have been applied.
The SAP application must be configured to communicate with the SAP BAPI Adapter as described in Configuring SAP in the SAP BAPI Adapter Intelligent Adapter User’s Guide.
We recommend only using the directory path when setting your library path, not the directory path and file name.
JCo 2.1.6 does not support mixed case, users may need to convert passwords to upper case for all design time and runtime SAP connection configurations.