Page 1 of 1

Problem installation

Posted: Tue Jan 19, 2021 7:51 am
by camillep
I have this message when I try to test that OpenSim is properly configured with MATLAB with the command :
org.opensim.modeling.opensimCommon.GetVersion()

I have the following error message :
Java exception occurred:
java.lang.UnsatisfiedLinkError: org.opensim.modeling.opensimCommonJNI.GetVersion()Ljava/lang/String;

at org.opensim.modeling.opensimCommonJNI.GetVersion(Native Method)

at org.opensim.modeling.opensimCommon.GetVersion(opensimCommon.java:25)

Do you know the origin of the problem?

Re: Problem installation

Posted: Tue Jan 19, 2021 1:27 pm
by aymanh
Hello,

Generally the unsatisfied link error on loading suggests that the path where the libraries are searched for, is not correct. This could be because you didn't change the Path environment variable as described in the instructions here, or had a typo in the path
https://simtk-confluence.stanford.edu/d ... ith+Matlab
You need to restart Matlab after changing the path to take effect.

Hope this helps and please let us know what you find out so that other users can benefit as well.

Best regards,
-Ayman

Re: Problem installation

Posted: Wed Jan 20, 2021 12:38 am
by camillep
Hello Ayman,

The problem was in the System Properties.
Thank you for your help.

Best regards