Skip to Content

SAP JCo 3.1.2 64 bit fails on Windows 2016 Server with UnsatisfiedLinkError

java -jar .\sapjco3.jar results in:

java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: C:\sapjco\sapjco3.1.2\sapjco3.dll: Can't find dependent libraries
at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:165)
at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:78)
at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
Also regsrv32.exe does not load sapjco3.dll, istalling the C++ redistributables from https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads didn't help as in earlier releases. JCo 3.0.15 runs without problems on the same machine. And the same 3.1.2 runs also under Windows 10. Any idea how to to analyse or fix this problem?

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Sep 05 at 08:13 AM

    Hi Peter,

    Could you check if the required "Visual C++ 2013 Redistributable Package" library is installed?

    2786882- SAP JCo 3.1 release and support strategy

    The JCo 3.0 required another library "Microsoft Visual Studio 2005 C/C++ runtime libraries (version 8.0.50727.6195)".

    The VC++ 2013 can be downloaded from this URL:

    https://support.microsoft.com/en-us/help/4032938/update-for-visual-c-2013-redistributable-package

    Best regards,

    Antal

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 05 at 02:38 AM

    Hi Peter.

    Refer the SAP note 2426938, it may resolve the issue.

    Regards

    SS

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 05 at 10:21 AM

    Thank you Antal, the "Visual C++ 2013 Redistributable Package" solved my problem - I was not aware of that (why isn't such an important information shipped within the Readme's or installation instructions contained in the zip?) - I installed "the wrong" C++ redistributable before...

    Best regards & wishes!

    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.