Spring Tool Suite: Failed to load the JNI shared library
This tutorial will show you how to solve the Spring Tool Suite “Failed to load the JNI shared library” initialisation error.
![spring tool suite failed to load the jni shared library error](https://bgasparotto.com/wp-content/uploads/2017/12/sprint-tool-suite-jni-error.png)
The “Failed to load the JNI shared library” error is generally caused by two reasons:
- The architecture version (32 or 64 bits) of your Java and your Spring Tool Suite don’t match;
- Your STS.ini is pointing to your Java home directory instead of the Java executable.
Let’s explore the solutions for both cases.
Read More »Spring Tool Suite: Failed to load the JNI shared library