osimJavaJNI.dll cannnot be loaded

Provides tools for using different aspects of Opensim within the Matlab environment, including command line pipelines as well as accessing the Opensim API directly.
POST REPLY
User avatar
Yusuke Okita
Posts: 44
Joined: Sun Nov 21, 2010 11:25 pm

osimJavaJNI.dll cannnot be loaded

Post by Yusuke Okita » Thu Aug 09, 2012 4:26 am

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
Attachments
error.jpg

User avatar
Glen Lichtwark
Posts: 30
Joined: Mon Nov 19, 2007 10:02 pm

Re: osimJavaJNI.dll cannnot be loaded

Post by Glen Lichtwark » Thu Aug 23, 2012 8:14 pm

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

User avatar
Yusuke Okita
Posts: 44
Joined: Sun Nov 21, 2010 11:25 pm

Re: osimJavaJNI.dll cannnot be loaded

Post by Yusuke Okita » Sun Jul 15, 2018 5:11 am

As you supposed, this problem was caused by the incorrect definition of the path.
I deeply apologize my missing your reply.

POST REPLY