Error while connecting to SAP server from Java application: java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path

SAP HANASAPSAP Basis

Note that SAP Java Connector should be configured as server library and not as application library.There are many issues in the way you are trying to use:

You shouldn’t change java.library.path programmatically as it is not recommended and this is cached at JVM start.

You are overwriting java.library.path instead of adding your directory so your application server requires native libraries.

Also note that our JVM root directory is different from your application root directory so /WEB-INF/lib path won’t be found by our JVM.

 

raja
Published on 07-Dec-2017 15:50:26
Advertisements