Skip to main content
VRami.1
Associate III
December 17, 2020
Solved

Error unknown nature on STM32Cube IDE after update

  • December 17, 2020
  • 17 replies
  • 13332 views

Hi all, how are you?. I'm making a project with an STM32F401VE and I've updated the IDE, after that there are about ten dependencies that says something related to inknown dependencies and the .ioc project doesn't opens. I read some over there and some other people had the same problem after the STM32Cube IDE was updated, currently for me is showing this problem with the version Version: 1.5.1, Build: 9029_20201210_1234 (UTC).

I tried also to import the project or creating a new project but the behavior is the same. How could this problem be solved?

In the meantime I will simply reinstall the IDE

This topic has been closed for replies.
Best answer by Julien D

The problem here is about the JRE version.

STM32CubeIDE embeds Java8 while, because of a 3rd-party installation (eGit, etc...), an indirect core dependency is updated and depends on Java11.

How to solve it

Notice: STM32CubeIDE has not been entirely validated on Java11, I strongly suggest to keep a backup of the jre folder.

  1. Download Java11 from AdoptOpenJDK, binary archive not installer (https://adoptopenjdk.net/archive.html?variant=openjdk11&jvmVariant=hotspot)
  2. Go to STM32CubeIDE root directory and rename jre/ to jre.backup/
  3. Unpack Java11 archive and rename it to jre/
  4. (good practice: report any troubles you could face with Java11 on ST Community, but clearly state that the JRE version is not the default)

17 replies

MLE S.1
Associate II
December 21, 2020

problem solved for me like this :

  • uninstall stm32cube ide
  • re-install stm32cube ide 1.5.0
  • update to 1.5.1
  • install dark theme after
Cartu38 OpenDev
Graduate II
December 21, 2020

I've got extra try myself.

Doing the following all is working fine too:

  • install stm32cube ide 1.5.0
  • install dark theme
  • update to 1.5.1

I guess issue root is deeper than 1.5.0 then. I've seen if @VRami.1​, his log file is pointing to some 1.3.0 workspace.

Mutiple updates, major updates under the hood (Eclipse platform update from 2019.09 - 1.3.0 STM32CubeIDE basis - to 2020.06 - 1.5.x STM32CubeIDE basis - , then dark theme which is 2020.12 compliant ....) maybe too much updates ....

Reinhard Panhuber
Associate
December 21, 2020

I dont have the dark theme app installed but i use eGit and i use workspaces comming from version 1.1. I am not sure the dark theme app is to blame...

MLE S.1
Associate II
December 21, 2020

i also use eGit

Cartu38 OpenDev
Graduate II
December 21, 2020

This trial is KO:

  • install stm32cube ide 1.3.0
  • install EGit
  • update to 1.5.1

Sounds trouble if EGIT ... what's a pain because common basis

JGarc.5
Associate II
January 15, 2021

Hi,

My stm32cubeide 1.5.1 crashed after upgrading from the application (not able to build, "nature" problems like Johnny )

After uninstalling and installing 1.5.1 from scratch, I was able to build projects (imported and converted from old workspace)

After installing eGit, the problem came back again

Cartu38 OpenDev
Graduate II
January 18, 2021

ST has finally published 1.5.1 installers on www.st.com: STM32CubeIDE - Integrated Development Environment for STM32 - STMicroelectronics

Did you still get issue relying on it ?

Which OS are you relying on ?

JGarc.5
Associate II
January 18, 2021

I'm using Windows 10. I already used the 1.5.1 installer on Friday

LDelm.1
Associate
January 18, 2021

i have the same problem with EGit and version 1.5.1.

When the plugin is installed stmcubeide crash.

i try reinstalling but it doesn't work.

Can anyone tell us how to solve it please.

Cartu38 OpenDev
Graduate II
January 18, 2021

ST has finally published 1.5.1 installers on www.st.comSTM32CubeIDE - Integrated Development Environment for STM32 - STMicroelectronics

Did you still get issue relying on it ?

Which OS are you relying on ?

LDelm.1
Associate
January 18, 2021

last friday i downloaded that installer .

i installed it from scrath and the problem persist.

Im using Windows 10

Julien D
Julien DBest answer
ST Employee
January 18, 2021

The problem here is about the JRE version.

STM32CubeIDE embeds Java8 while, because of a 3rd-party installation (eGit, etc...), an indirect core dependency is updated and depends on Java11.

How to solve it

Notice: STM32CubeIDE has not been entirely validated on Java11, I strongly suggest to keep a backup of the jre folder.

  1. Download Java11 from AdoptOpenJDK, binary archive not installer (https://adoptopenjdk.net/archive.html?variant=openjdk11&jvmVariant=hotspot)
  2. Go to STM32CubeIDE root directory and rename jre/ to jre.backup/
  3. Unpack Java11 archive and rename it to jre/
  4. (good practice: report any troubles you could face with Java11 on ST Community, but clearly state that the JRE version is not the default)
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.
LDelm.1
Associate
January 18, 2021

thank you, this work for me

CsBe
Explorer II
January 25, 2021

Thank you for the great support!

Sorry, next time I will check the ST Community first.

:thumbs_up:

January 11, 2024

Have same problem with version 1.14 , any solutions?!