javajco

Having issue with SAP Java connectors


I'm trying to put SAP JCo3 libraries to my work server that has an OS "Win 2003 Server". The SAP JCo3 libraries worked fine on my localhost which has an OS "Windows 7". However when I performed the same procedure for installation on my work server and tried to use the libraries, I've been getting this error:

java.lang.ExceptionInInitializerError: Error getting the version of the native layer:

java.lang.UnsatisfiedLinkError:***********\sapjco3.dll:

This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem

Can anyone help me with this issue. Thanks in advance.


Solution

  • The issue is because of Visual 2005 C++ runtime redistributable. The version require by sapjco3.dll should be minimum of 8.0.50727.4053 to work, but however the version on my work server is much lower than this one and lead to this issue. Then I asked my system admin to update it. And now it works.