2025-11-27 11:51 PM
i am getting the below error when running fresh install of stmcubeide 2.0.0 in windows 10. how can i fix this?
"!SESSION 2025-11-27 23:17:13.722 ----------------------------------------------- eclipse.buildId=Version 2.0.0 java.version=21.0.8 java.vendor=Eclipse Adoptium BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86_64 !ENTRY org.eclipse.osgi 4 0 2025-11-27 23:17:16.137 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: C:\ST\STM32CubeIDE_2.0.0\STM32CubeIDE\configuration\org.eclipse.osgi\366\0\.cp\swt-win32-4966r5.dll: The specified procedure could not be found no swt-win32 in java.library.path: C:\ST\STM32CubeIDE_2.0.0\STM32CubeIDE;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility;C:\Users\saeed110\AppData\Local\Microsoft\WindowsApps;C:\Users\saeed110\AppData\Local\Programs\Microsoft VS Code\bin;. no swt in java.library.path: C:\ST\STM32CubeIDE_2.0.0\STM32CubeIDE;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility;C:\Users\saeed110\AppData\Local\Microsoft\WindowsApps;C:\Users\saeed110\AppData\Local\Programs\Microsoft VS Code\bin;. C:\Users\saeed110\.swt\lib\win32\x86_64\swt-win32-4966r5.dll: The specified procedure could not be found Can't load library: C:\Users\saeed110\.swt\lib\win32\x86_64\swt-win32.dll Can't load library: C:\Users\saeed110\.swt\lib\win32\x86_64\swt.dll C:\Users\saeed110\.swt\lib\win32\x86_64\swt-win32-4966r5.dll: The specified procedure could not be found at org.eclipse.swt.internal.Library.loadLibrary(Library.java:345) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254) at org.eclipse.swt.internal.C.(C.java:19) at org.eclipse.swt.internal.win32.STARTUPINFO.(STARTUPINFO.java:42) at org.eclipse.swt.widgets.Display.(Display.java:150) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:721) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:185) at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:182) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:668) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:605) at org.eclipse.equinox.launcher.Main.run(Main.java:1481)"
2025-11-28 12:02 AM
Hello @saeed110
STM32CubeIDE_2.0.0 is supported on windows 10 .
So let's try the following steps to solve the issue :
1- Uninstall STM32CubeIDE completely.
2- Delete the installation folder (e.g., C:\ST\STM32CubeIDE_2.0.0\).
3- Reinstall the STM32CubeIDE_2.0.0
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.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.