Workato · SAP connector
JCo initialization failed with java.lang.UnsatisfiedLinkError
Short answer
This error stops the on-prem agent from starting on Windows because JCo 3.1 needs the Microsoft Visual C++ runtime libraries. Install the latest Microsoft Visual C++ 2015-2022 Redistributable Package on the agent server.
VerifiedLast verified
01Error text
JCo initialization failed with java.lang.UnsatisfiedLinkError: ...sapjco3.dll: Can't find dependent libraries02Likely causes
- On Windows, JCo 3.1 needs the Microsoft Visual Studio 2015-2022 C/C++ runtime libraries on the agent server, and they are missing.
03How to fix it
- Install the latest Microsoft Visual C++ 2015-2022 Redistributable Package.
- Pick the package that matches the JVM bit-width, x64 or x86.
- Start the agent again.
04Official documentation
→Related errors
- java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.pathThis error means the agent's SAP Java Connector package does not match the host operating system. Download and install the JCo version for the agent's OS.
- java.lang.NoClassDefFoundError: com/sap/conn/jco/JCoExceptionThis error means the SAP Java Connector (JCo) library is missing or is not on the agent's classpath. Add the JCo files to lib_ext and make sure config.yml lists lib_ext in the classpath.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Workato work:Open Workato jobsWorkato rates and salariesHire a senior Workato developer