Cannot run GUI project via netbeans interface

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Tomas Kment
Posts: 6
Joined: Tue Sep 14, 2021 11:33 am

Cannot run GUI project via netbeans interface

Post by Tomas Kment » Thu Nov 18, 2021 10:55 am

Hello,

I'm trying to build GUI for OpenSim 4.4 from Git (https://github.com/opensim-org/opensim-gui). I have built opensim-core as told in README on git (https://github.com/opensim-org/opensim-core). Core works without any problem and I'm able to run it. I have followed instructions for GUI and built it (via cmake and visual studio) also without error. In README for GUI, there is written that after these steps, I should be able to edit, build and run GUI with netbeans without a problem, but after I run the project I get this error:

error.PNG
error.PNG (87.15 KiB) Viewed 255 times

When I try to run OpenSim64.exe that has been built in dist folder by PrepareInstaller via visual studio, it starts without a problem.
The thing is that I need to be able to make changes to GUI code a run it from IDE.

Things I have tried:
Reinstalling the whole thing, even with core, and make a new install.
Using another JDK, tried 16. and the newest 17. both did not work.
Running it with a different version of netbeans, tried it with recommended 12.3 but also 12.5 both did not work either.
Running it via a different IDE....seems the project is for netbeans only.

As said earlier I did not encounter a single problem while installing it as told in README. Here is whole log.

Sincerely, Tomas.

messages.log
(95.23 KiB) Downloaded 6 times

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

Re: Cannot run GUI project via netbeans interface

Post by Ayman Habib » Thu Nov 18, 2021 11:52 am

Hi Tomas,

We do not support building GUI from source, in general, because the process is involved, however if interested you should put this on github where it belongs and could be of interest to other developers, and where we can point you to the code/process we use for automated builds/ci. That said, you're using JDK 17 while all our distributions use JDK-8.

Hope this helps,
-Ayman

User avatar
Tomas Kment
Posts: 6
Joined: Tue Sep 14, 2021 11:33 am

Re: Cannot run GUI project via netbeans interface

Post by Tomas Kment » Fri Nov 19, 2021 3:32 am

aymanh wrote:
Thu Nov 18, 2021 11:52 am
Hi Tomas,

We do not support building GUI from source, in general, because the process is involved, however if interested you should put this on github where it belongs and could be of interest to other developers, and where we can point you to the code/process we use for automated builds/ci. That said, you're using JDK 17 while all our distributions use JDK-8.

Hope this helps,
-Ayman
Apparently, the JDK was causing the error. After I installed JDK-8 project started working!

Thanks! Tomas

POST REPLY