[ Team LiB ] Previous Section Next Section

Installing JCo

JCo is a free tool provided by SAP to its customers and partners. It currently runs on Microsoft Windows NT 4.0 with Service Pack 4 or later, Windows 2000, Linux Kernel 2.2.14 or later, Sun Solaris 2.8 or later, IBM AIX 4.3 or later, HP-UX 11.0 or later, and Compaq Tru64 5.0 or later. The only way to get a copy of JCo is to be a partner or customer and have a valid ID for the SAP service site named SAPnet.

Downloading JCo

The software can be downloaded on the Internet at http://service.sap.com/connectors. This site requires a login with an active ID and password. If you work for a company that has SAP, you must apply for an OSS ID or ask someone to login and download the software for you. JCo must be the correct version for the operating system environment it will run in.

JCo 1.1

After receiving the zipped file from JCo, unzip it into a temp directory. To install on a Microsoft Windows machine, JCo needs three .dll files put in the windows/system32 directory and the jco.jar file in the classpath of your Java compiler and runtime environment of WebLogic Server. Table 32.1 shows the location for the 1.1 version of JCo.

Table 32.1. Location of JCo Files for 1.1 Installation

Files

Location

jco.jar

Must be in the compile time and runtime classpaths.

jRFC11.dll

SAP DLL needed to run JCo on JDK 1.1. Place in the <windows root>/system32 directory.

jRFC12.dll

SAP DLL needed to run JCo on JDK 1.2 or later. Place in the <windows root>/system32 directory.

Librfc32.dll

SAP DLL containing the RFC runtime library 4.6D or higher.

msvp60.dll

Windows DLL; make sure that you have this version or newer in the <windows root>/system32 directory.

JCo 2.0

JCo 2.0 requires Java runtime libraries 1.2 or greater. Installation is a bit different because the files have changed. The jco.jar file has been replaced with sapjco.jar. The jRFC12.dll file has been replaced with sapjcorfc.dll. The required librfc32.dll file must support the runtime library 6.20 or greater. Table 32.2 shows the location for the 2.0 installation of JCo.

CAUTION

If you've previously installed the 1.x version of JCo, remove the .dlls from your system because they cause conflicts with JCo 2.x.


Table 32.2. Location of JCo Files for 2.0 Installation

Files

Location

sapjco.jar

Must be in the compile time and runtime classpaths.

sapjcorfc.dll

SAP DLL needed to run JCo on JDK 1.2 or higher. Place in the <windows root>/system32 directory or keep in the same directory and add the directory to the path statement.

librfc32.dll

SAP DLL containing the RFC runtime library 6.20 or higher.

    [ Team LiB ] Previous Section Next Section