Skip to Content
avatar image
Former Member

JCO 2.1.4


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 ''

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 [






at MaterialList1.createConnection(

at MaterialList1.<clinit>(


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,


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Dec 10, 2004 at 02:31 PM

    Do you have sapjcorfc.dll in the PATH? Looks like its not able to find this dll.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 15, 2005 at 10:38 AM


    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:





    I hope this will also help you if you did not solve the problem up to now!

    Kind regards,

    Helmut Schulz

    Add comment
    10|10000 characters needed characters exceeded