Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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 2.6.16.54-0.2.5-default for s390x

Java VM: 1.4.2 IBM Corporation

Java Codepage: ISO8859_15

Versions:

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

Paths:

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

JCo library: /opt/IBM/media/SAP/sapjco/libsapjcorfc.so

RFC library: System-defined path

-


Manifest

-


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-Title: com.sap.mw.jco

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

Implementation-Vendor-Id: com.sap

Implementation-Vendor: SAP AG, Walldorf

Main-Class: com.sap.mw.jco.About

-


Please suggest what am I missing.

SB

Former Member
Not what you were looking for? View more on this topic or Ask a question