on 09-03-2008 6:20 PM
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
You do not require RFCSDK to build a jaava application that uses JCO on LINUX.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.