iPaaS Group

MuleSoft · SAP Connector

Native library sapjco3 is too old

Short answer

This SAP Connector error means the sapjco3 native library does not match the SAP JCo JAR, most often because they come from different JCo packages. Use sapjco3.jar and the sapjco3 native file from the same JCo package, with the same 32-bit or 64-bit build as the JVM.

VerifiedLast verified

01Error text

MuleSoft error
java.lang.ExceptionInInitializerError: Native library sapjco3 is too old. Found library ... has version "720.612", but required is at least version "720.713".

02Likely causes

  • The native library and the JCo JAR versions do not match.

03How to fix it

  1. Take sapjco3.jar and the sapjco3 native library file from the same JCo package.
  2. Use 64-bit JCo on a 64-bit JVM, and 32-bit JCo on a 32-bit JVM.
  3. On Windows, install the Microsoft Visual Studio 2005 C/C++ runtime that JCo needs.
  4. Check the versions: in the JAR dialog on Windows, or with java -jar sapjco3.jar -version on Mac.

04Fix it with AI

Copy this prompt into Claude Code, ChatGPT or any AI assistant. It already holds the error, the likely causes and the fix steps, so the assistant starts from what is known instead of guessing.

Prompt
I'm getting this error in MuleSoft Anypoint (SAP Connector):

java.lang.ExceptionInInitializerError: Native library sapjco3 is too old. Found library ... has version "720.612", but required is at least version "720.713".

What it usually means: This SAP Connector error means the sapjco3 native library does not match the SAP JCo JAR, most often because they come from different JCo packages. Use sapjco3.jar and the sapjco3 native file from the same JCo package, with the same 32-bit or 64-bit build as the JVM.

Likely causes:
- The native library and the JCo JAR versions do not match.

Fix steps that usually work:
1. Take sapjco3.jar and the sapjco3 native library file from the same JCo package.
2. Use 64-bit JCo on a 64-bit JVM, and 32-bit JCo on a 32-bit JVM.
3. On Windows, install the Microsoft Visual Studio 2005 C/C++ runtime that JCo needs.
4. Check the versions: in the JAR dialog on Windows, or with java -jar sapjco3.jar -version on Mac.

Help me fix it. If you can read my project files, find where this error comes from. If not, ask me for what you need (the failing step, its input, the connection or config). Check the likely causes one by one, tell me which one it is and why, then give me the exact change to make. Do not change anything in production. Reference: https://ipaaserrors.com/mulesoft/sap-native-library-sapjco3-too-old

Nothing is sent anywhere from this page. Read what the assistant suggests before you apply it.

05Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for MuleSoft work:Open MuleSoft jobsMuleSoft pay estimates