cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

AntalP
Product and Topic Expert
Product and Topic Expert

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

Answers (2)

Answers (2)

0 Kudos

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!

MarkusTolksdorf
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Peter,

it is mentioned in the installation.html contained in the package - see the section for Windows. And it is mentioned on the download page https://support.sap.com/en/product/connectors/jco.html#section_2129803369.

Best regards,
Markus

Sriram2009
Active Contributor
0 Kudos

Hi Peter.

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

Regards

SS