Skip to main content
antfarmer
Associate III
March 23, 2026
Solved

Cannot get subclipse working on fresh install of STM32CubeIDE 2.1.1

  • March 23, 2026
  • 2 replies
  • 191 views

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.

Best answer by antfarmer

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.

2 replies

Andrew Neil
Super User
March 23, 2026

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.
antfarmer
antfarmerAuthor
Associate III
March 23, 2026

Yes, I believe the last one was version 1.19. 

antfarmer
antfarmerAuthorBest answer
Associate III
March 24, 2026

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.

Andrew Neil
Super User
March 25, 2026

@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.