STCubeIDE wont start after a fresh install - should I rewind to an earlier version?
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:
