Page 1 of 1

osimJavaJNI.dll cannnot be loaded

Posted: Thu Aug 09, 2012 4:26 am
by okvsh
Dear all:

I am trying to use "OSIMstrength_scalar.m" to increase the strength of the musculoskeletal model.
I added some directories to the path as indicated in Readme.txt., but an error message appears and I cannot use "org.opensim.modeling.model" in my computer.

I suppose this happened because of my using 64-bit platform.
I would appreciate it if you tell me the possible reason and the solution.

Sincerely,
Yusuke

Re: osimJavaJNI.dll cannnot be loaded

Posted: Thu Aug 23, 2012 8:14 pm
by glichtwark
Have you entered the correct path for your opensim jar file? Make sure you use the exact path based on where you installed Opensim. Note that the example path below is likely not the same as on you machine.

1. Edit the classpath.txt file (in command window type 'edit classpath.txt')
Add the following path to the end of the file ensuring the correct path
to the opensim jar file -
C:\OpenSim2.3.2\opensim\modules\org-opensim-modeling.jar
Save the new file to your Matlab startup directory

Re: osimJavaJNI.dll cannnot be loaded

Posted: Sun Jul 15, 2018 5:11 am
by okvsh
As you supposed, this problem was caused by the incorrect definition of the path.
I deeply apologize my missing your reply.