cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot get subclipse working on fresh install of STM32CubeIDE 2.1.1

antfarmer
Associate III

I have recently installed STM32CubeIDE 2.1.1 on linux and opened an existing project workspace. Everything looks fine except the integration with CubeMX for ioc files (which I believe is now by-design). The problem I have is after going to eclipse marketplace and installing Subclipse, it installs fine, then after restarting it goes into an endless loop saying the application is not responding. Finally, I got a message about "Failed to load JavaHL Library.", but I'm not sure if that's the real cause as dismissing the dialog reverts back to the application not responding loop. 

 

Reinstalling the IDE does not help. The only way I've found to get the IDE to work is by removing the stm32 folder under $HOME/.eclipse, but this doesn't correct the issue with subclipse or its connection to subversion. Any help much appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
antfarmer
Associate III

I was finally able to resolve this by adding a jvm parameter to the "stm32cubeide.ini" file. For Linux, after making sure "libsvn-java" is installed, add the following to the ini file:

 

-Djava.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib:/usr/lib/x86_64-linux-gnu/jni

 

Works fine now.

View solution in original post

4 REPLIES 4
Andrew Neil
Super User

Did this plug-in work with any previous version(s) of CubeIDE?

 


@antfarmer wrote:

Everything looks fine except the integration with CubeMX for ioc files (which I believe is now by-design). .


Indeed it is: 

STM32CubeIDE 2.0 release - early heads-up!

STM32CubeIDE 2.0.0 released

IDE Version 2.0.0 - why remove MX ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Yes, I believe the last one was version 1.19. 

antfarmer
Associate III

I was finally able to resolve this by adding a jvm parameter to the "stm32cubeide.ini" file. For Linux, after making sure "libsvn-java" is installed, add the following to the ini file:

 

-Djava.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib:/usr/lib/x86_64-linux-gnu/jni

 

Works fine now.


@antfarmer wrote:

Works fine now.


Good to hear - now please mark that post as the solution.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.