Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.