on 12-10-2004 6:53 AM
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
Hello,
I was confronted with the same problem as I installed JCO 2.1.4, but copying librfc32.dll and sapjcorfc.dll to \WINDOWS\SYSTEM32\did not help me fixing this error, neither in Eclipse nor in NetBeans.
After comparing the system libraries of my colleagues (where JCO worked) with mine, I copied their msvc*.dll into my WINDOWS\SYSTEM32\ - folder and this helped!
The files were the following:
msvcr70.dll
msvcp70.dll
msvcp71.dll
msvcr71.dll
I hope this will also help you if you did not solve the problem up to now!
Kind regards,
Helmut Schulz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have sapjcorfc.dll in the PATH? Looks like its not able to find this dll.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.