error with starting opensim2.4.0

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Jianwei Liu
Posts: 6
Joined: Fri Feb 24, 2012 11:49 am

error with starting opensim2.4.0

Post by Jianwei Liu » Sun Feb 26, 2012 11:20 pm

When I start the opensim2.4.0 by doubleclick the bin/opensim.exe
get the error cannot find java.exe in jdk\... and cannot start opensim.

But if I doubleclick the start_opensim.bat, opensim can start successfully.

My computer's operate system is windows 7 ultimate.

Can anyone please help me?

Jianwei Liu

User avatar
Ayman Habib
Posts: 2244
Joined: Fri Apr 01, 2005 12:24 pm

Re: error with starting opensim2.4.0

Post by Ayman Habib » Mon Feb 27, 2012 10:06 am

Hi Jianwei,

This actually is expected as the application has to be started from a specific directory so as to find the Java runtime it needs and also to set the correct path to load the dynamic libraries it depends on. You can create a short cut (if that was not done by the installer already) and place it on the desktop and always use it to launch the application.

Hope this helps,
-Ayman

User avatar
Jianwei Liu
Posts: 6
Joined: Fri Feb 24, 2012 11:49 am

Re: error with starting opensim2.4.0

Post by Jianwei Liu » Mon Feb 27, 2012 7:48 pm

Hi Ayman,
Thanks for your reply.
It can not work if I create a short cut on the desktop, but works when I make a short cut in the opensim Installation dir( the same dir with start_opensim.bat)

wishes

Jianwei

POST REPLY