cancel
Showing results for 
Search instead for 
Did you mean: 

STCubeIDE wont start after a fresh install - should I rewind to an earlier version?

Toneski
Associate III

Morning all,

I'm really having some issues getting the latest CubeIDE (1.18.1) to work.

This problem started when I was trying out some different processors for a new product (a CPU upgrade) - everytime I selected the new CPU and attempted to start a new project, I was told that it was missing an XML file and that no new project could be started without it.

After trying/retrying several times with searches for the XML file turning up nothing - I came to the conclusion that I needed a re-install of the tools as this would give me the XML file I needed for the new board.

I downloaded and installed the latest 1.18.1. Everytime I started CubeIDE, I would get a popup window after the splash screen  saying this or that log would hold the details of what was going wrong. Reading the log file showed that there was no swt-win32 in the java library path. The path listed in the log is pointing to a .DLL, which exists at the location given.

Assuming I had an old java install, I got and installed the latest, installed - rerun and the same issue.

I deleted the java install and rerun - same outcome.

I removed ALL ST software from my machine, re-installed, rerun - same outcome.

I have been through every combination - always with the same outcome.

I seem to be missing something - any ideas?

Should I re-wind to an earlier version? At least I could get on with some code for the project?

I'm out of ideas?

 

Regards,

Toneski.

 

This seems to be the error from the log file:-

 

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2025-05-14 09:25:15.087
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
D:\ST\STM32CubeIDE_1181\STM32CubeIDE\configuration\org.eclipse.osgi\365\0\.cp\swt-win32-4966r5.dll: The specified procedure could not be found
no swt-win32 in java.library.path:

 

3 REPLIES 3
Ghofrane GSOURI
ST Employee

Hello @Toneski 

Could you please provide more information about your OS.

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi @Ghofrane GSOURI.

Thanks for your immediate reply.

I am running under Win7 64. Unfortunately, I cannot upgrade to something more recent due to other legacy tools that are required for the current hardware.

Regards,

Toneski.

Hello @Toneski 

Here are the host PC system requirements and supported operating systems for STM32CubeIDE version 1.18.0:
• Windows® 10 and 11, 64 bits (x64)
• Linux®: Ubuntu® LTS 22.04 and LTS 24.04, and Fedora® 40
• macOS® 14 (Sonoma), macOS® 15 (Sequoia)
Note: Windows is a trademark of the Microsoft group of companies.
Linux® is a registered trademark of Linus Torvalds.
Ubuntu® is a registered trademark of Canonical Ltd.
Fedora® is a trademark of Red Hat, Inc.
macOS® is a trademark of Apple Inc., registered in the U.S. and other countries and regions

So running STM32CubeIDE 1.18.0 on Windows 7 is not officially supported. However, you can consider using a virtual machine (VM) as a workaround to run STM32CubeIDE on a supported operating system while maintaining your legacy tools on Windows 7.

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.