Skip to Content
avatar image
Former Member

JCO on Linux (IBM Datastage)

Hi Experts,

Im trying to run my jar from a linux environment that connects to SAP ECC and fetches the system information.

I build my JAR from NWDS on a windows platform, but when I run it on Linux withthis command -->

java -jar ditest.jar

it throws this error:

The java class is not found: com/sap/mw/jco/JCO$Exception

The formation that I get from

java -jar sapjco.jar -stdout is below:

dsadm@vmztliis01:/opt/IBM/media/SAP/sapjco> dout <


SAP Java Connector (JCo)

Copyright (c) 2000-2005 SAP AG. All rights reserved.

Version Information


Java Runtime:

Operating System: Linux for s390x

Java VM: 1.4.2 IBM Corporation

Java Codepage: ISO8859_15


JCo API: 2.1.8 (2006-12-11)

JCo middleware: 2.1.8 (2006-12-11)

JCo library: 2.1.8 (2006-12-11)

RFC library: 640.0.165


JCo classes: /opt/IBM/media/SAP/sapjco/sapjco.jar

JCo library: /opt/IBM/media/SAP/sapjco/

RFC library: System-defined path




Manifest-Version: 1.0

Ant-Version: Apache Ant 1.6.4

Created-By: 1.3.1_18-b01 (Sun Microsystems Inc.)

Specification-Title: SAP Java Connector

Specification-Version: 2.1.8

Specification-Vendor: SAP AG, Walldorf


Implementation-Version: 20070108 2139 [2.1.8 (2006-12-11)]


Implementation-Vendor: SAP AG, Walldorf



Please suggest what am I missing.


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 12, 2008 at 08:26 PM

    You do not require RFCSDK to build a jaava application that uses JCO on LINUX.

    Add comment
    10|10000 characters needed characters exceeded