Skip to Content

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

SAP Java Connector Release 2.1.8 with SAP NW CE 7.1

Hi All,

Is it possible to use SAP JCo release 2.1.8 with SAP NetWeaver Composition Environment 7.1 (CE)?

SAP JCo 2.1.8 is based on Java 1.4 and SAP NW CE is based on Java 1.5.

I have created an EJB Project with an EJB 3.0 Session Bean, I have no errors in the project but when I try to build the project I receive these kind of errors:

[javac] ERROR: C:\APPS\SAP\workspace.jdi\LocalDevelopment\DCs\demo.sap.com\rfcreadejb\_comp\ejbModule\sap\com\demo\ejb\connection\DAOFactory.java:4: package com.sap.mw.jco.JCO does not exist

[javac] ERROR: import com.sap.mw.jco.JCO.Connection;

[javac] ERROR: ^

[javac] ERROR: C:\APPS\SAP\workspace.jdi\LocalDevelopment\DCs\demo.sap.com\rfcreadejb\_comp\ejbModule\sap\com\demo\ejb\connection\DAOFactory.java:5: package com.sap.mw.jco does not exist

[javac] ERROR: import com.sap.mw.jco.*;

[javac] ERROR: ^

[javac] ERROR: C:\APPS\SAP\workspace.jdi\LocalDevelopment\DCs\demo.sap.com\rfcreadejb\_comp\ejbModule\sap\com\demo\ejb\connection\DAOFactory.java:11: package JCO does not exist

[javac] ERROR: JCO.Client mConnection;

[javac] ERROR: ^

I added the sapjco.jar to the Build Path but the errors still exist.

Thanks and regards,

Ridouan

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