cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to start CubeIDE v2.0.0 on Windows 7

GongGing
Visitor

I have installed the latest IDE in my windows 7 laptop. The installation was successful. When I open the application, I face the following error: An error has occurred. See the log file ....\configuration\.

Log file:

!SESSION 2025-11-22 14:02:55.630 -----------------------------------------------
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_IN
Command-line arguments: -os win32 -ws win32 -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2025-11-22 14:02:59.045
!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:/ST/STM32CubeIDE_2.0.0/STM32CubeIDE//plugins/com.st.stm32cube.ide.jre.win64_3.4.100.202508201254/jre/bin/server;C:/ST/STM32CubeIDE_2.0.0/STM32CubeIDE//plugins/com.st.stm32cube.ide.jre.win64_3.4.100.202508201254/jre/bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Skype\Phone\;C:\Users\DELL\AppData\Local\Programs\Python\Python38-32\Scripts\;C:\Users\DELL\AppData\Local\Programs\Python\Python38-32\;C:\Users\DELL\AppData\Local\Programs\Python\Python36-32\Scripts\;C:\Users\DELL\AppData\Local\Programs\Python\Python36-32\;C:\ST\STM32CubeIDE_2.0.0\STM32CubeIDE;;.
no swt in java.library.path: C:\ST\STM32CubeIDE_2.0.0\STM32CubeIDE;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/ST/STM32CubeIDE_2.0.0/STM32CubeIDE//plugins/com.st.stm32cube.ide.jre.win64_3.4.100.202508201254/jre/bin/server;C:/ST/STM32CubeIDE_2.0.0/STM32CubeIDE//plugins/com.st.stm32cube.ide.jre.win64_3.4.100.202508201254/jre/bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Skype\Phone\;C:\Users\DELL\AppData\Local\Programs\Python\Python38-32\Scripts\;C:\Users\DELL\AppData\Local\Programs\Python\Python38-32\;C:\Users\DELL\AppData\Local\Programs\Python\Python36-32\Scripts\;C:\Users\DELL\AppData\Local\Programs\Python\Python36-32\;C:\ST\STM32CubeIDE_2.0.0\STM32CubeIDE;;.
C:\Users\DELL\.swt\lib\win32\x86_64\swt-win32-4966r5.dll: The specified procedure could not be found
Can't load library: C:\Users\DELL\.swt\lib\win32\x86_64\swt-win32.dll
Can't load library: C:\Users\DELL\.swt\lib\win32\x86_64\swt.dll
C:\Users\DELL\.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.<clinit>(C.java:19)
at org.eclipse.swt.internal.win32.STARTUPINFO.<clinit>(STARTUPINFO.java:42)
at org.eclipse.swt.widgets.Display.<clinit>(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)

 

2 REPLIES 2
Andrew Neil
Super User

@GongGing wrote:

I have installed the latest IDE in my windows 7 laptop.


Windows 7 isn't supported:

AndrewNeil_0-1763803870735.png

https://www.st.com/resource/en/user_manual/um2563-stm32cubeide-installation-guide-stmicroelectronics.pdf#page=2

via: https://www.st.com/en/development-tools/stm32cubeide.html#documentation

 

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.
AScha.3
Super User

You have to use win11 ...or try older version of cubeIDE :

Version STM32CubeIDE 1.11.2 works fine for me on Windows 7 Professional 64 bit.

Afair i had IDE 1.13.1 running on Win7 /64 .

Just try...

If you feel a post has answered your question, please click "Accept as Solution".