Page 1 of 1

Startup Error of Opensim

Posted: Thu Sep 27, 2018 5:09 pm
by misatobaba
I'm very new to OpenSim.

Yesterday, I installed OpenSim 4.0.
After it finished, I tried to launch, but it appeared 2 same error.

"Failed to load one or more dynamic libraries for OpenSim.
java.lang.UnsatisfiedLinkError: no osimjavaJNI in java.library.path
Make sure OpenSim's bin directory is on your PATH."

Once, I added [C:OpenSim4.0:bin] to system environmental variable.
However the error remained.

How do I solve the problem?

My PC specification is below
Windows 10
Windows 64bit
Visual Studio 2017

Re: Startup Error of Opensim

Posted: Fri Sep 28, 2018 12:35 am
by mitkof6
Is the osimjavaJNI dll in the bin file? If it is then you haven't configured the path variable correctly.

Re: Startup Error of Opensim

Posted: Fri Sep 28, 2018 7:03 am
by misatobaba
Hello, Dimitar!

I confirmed that osimJavaJNI.dll was in bin file.
But I retried to configure the path variable again.
it works!!

I have mistaken because I configured system environmental variable.
After I configured user variable correctly, it changed!

Thank you very much!

Re: Startup Error of Opensim

Posted: Thu May 16, 2019 5:15 am
by zhaojiamin0614
hi, Mistato
I'm also new to OpenSim.

I installed OpenSim 4.0 and failed to launch it.
it always warned me that


"Failed to load one or more dynamic libraries for OpenSim.
java.lang.UnsatisfiedLinkError: no osimjavaJNI in java.library.path
Make sure OpenSim's bin directory is on your PATH."

can you tell me how you fixed it?

thanks all
Jiamin

Re: Startup Error of Opensim

Posted: Thu May 16, 2019 7:55 am
by mitkof6
You must add the bin folder of OpenSim to the system PATH variable.

https://stackoverflow.com/questions/442 ... o#44272417

I prefer using the Rapid Environment Editor and to define the user variables

https://www.rapidee.com/en/path-variable

Re: Startup Error of Opensim

Posted: Fri May 17, 2019 6:25 am
by zhaojiamin0614
hello Dimitar,
thank you for your advice. i have fixed the problem.

Re: Startup Error of Opensim

Posted: Thu May 23, 2019 8:35 am
by mbsanchez
Hello!

I have been struggling with this same error. But only today was able to find an answer that actually made sense to me (not computer person).

Thank you both very much!

Maria