Skip to Content

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

JCO 2.1.4

Hi,

I am facing a problem with my first JCO program. I am getting a dialog box with message 'MSVCR71.dll not found'. After seeing this dialog box for 5/6 times then javac is producing the following messages like

"

Exception in thread "main" java.lang.ExceptionInInitializerError: JCO.classIniti

alize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'

JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [C:\jdk_14

\jre\lib\ext\sapjcorfc.dll: Can't find dependent libraries]. java.library.path [

C:\jdk_14\bin;.;C:\WINDOWS\System32;C:\WINDOWS;C:\Infoprint;C:\PROGRA~1\RATIONAL

\RATION~1\NUTCROOT\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Utilitie

s;c:\windows;c:\windows\system32;C:\jdk_14\,C:\jdk_14\bin;;c:\windows;c:\windows\syste

m32;C:\jdk_14\,C:\jdk_14\bin;c:\dev;]

at com.sap.mw.jco.JCO.<clinit>(JCO.java:735)

at MaterialList1.createConnection(MaterialList1.java:25)

at MaterialList1.<clinit>(MaterialList1.java:17)

"

I had an old librfc32.dll which I replaced with the latest from JCO pack. I am using the JCO 2.13 and Java 1.4. I am running on Windows XP but the JCO pack is for Windows 2000 and NT. Hope that will not be a problem.

Any help will be great.

Best Regards,

Ani

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