cancel
Showing results for 
Search instead for 
Did you mean: 

STM32cubeIDE Installation: Check for the correct Java RTE is missing!

KlausF01
Associate II

In the recent weeks, after installing cubeIDE I had so many problems with the IDE, permanently crashing and doing unexpected things.

Most severe: After Device Conviguration, the Generate Code command made the IDE freeze and -- most critical -- randomly deleted files it was about to update!!!

For example: After crashing several HALxxx... .h files got lost:

arm-none-eabi-gcc "../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.c" ...

../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c:36:10: fatal error: stm32l0xx_hal.h: No such file or directory

 #include "stm32l0xx_hal.h"

         ^~~~~~~~~~~~~~~~~

compilation terminated.

Installing the the stand-alone version of CubeMX as a last try, there was a warning that the installed Java environment was not sufficient, showing the same freeze when having started tried the software first time.

I did uptate Java, and now everything seems ok!

WHY THE HELL WAS CHECKING FOR THE RIGHT JAVA JRE VERSION REMOVED from CubeIDE's installation process??? Could have saved me a lot of frustration, unexplainable bugs and days of extra-work!!!

0 REPLIES 0