Skip to main content
Associate III
May 29, 2025
Solved

jre error

  • May 29, 2025
  • 7 replies
  • 1562 views

Continually get the error when I start prerelease 3.4.11  I am on a A Windows 10 PC

An error occurred while installing STM32Cube bundles: [adoptium-jre@>=17.0.14+7.st.6]. Some feature may not work as expected. Please check output channel logs.

Best answer by Julien D

Good that your problem is resolved.

Other jre/jdk should not interfere with the one you installed as a cube bundle. The cube jre is not declared system wise, via the registry for example, it is like unpacking an archive somewhere on the disk. It is safe to me to install back a jre at system level to get your other application working again.

7 replies

Cartu38 OpenDev
Graduate II
May 29, 2025

Have you a corporate proxy or something which may prevent you to reach ST servers ?

dvescoviAuthor
Associate III
May 29, 2025

Nope. Internet is working fine for all other downloads etc.

Cartu38 OpenDev
Graduate II
May 30, 2025

Are you able to get bundles manager populated ?

Cartu38OpenDev_0-1748588759582.png

 

Nawres GHARBI
Technical Moderator
June 10, 2025

hi @dvescovi 

any update, did you resolve your issue

dvescoviAuthor
Associate III
June 12, 2025

No. Pretty much get that error and "Bad CMake executable: "cube-cmake". Check to make sure it is installed or the value of the "cmake.cmakePath" setting contains the correct path"

Errors all the time while the extension is loading.

After everything loads ... for the most part it works fine.

Cartu38 OpenDev
Graduate II
June 13, 2025

?? May you have quarantine issue Thanks some antivirus scan or ? Sounds like you are kind of facing issue with some executable.
What "or the most part it works fine" means ? Are you able to build / debug ?

On my side cube-cmake is here:

Cartu38OpenDev_0-1749792108451.png

Are you getting this executable right ?

Julien D
ST Employee
June 13, 2025

Hi @dvescovi,

What happen if you execute cube-cmake --version into a VSCode integrated terminal ?

And cube cmake --version as well (without "-" char this time)?

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.
dvescoviAuthor
Associate III
June 12, 2025

now getting "Project setup failed with following error: No service available"

dvescoviAuthor
Associate III
June 21, 2025

Mostly think it had to do with another java jre/jdk that was previously installed for a different program on my computer.

I ended up deleting everything, removing all the STM32 extensions and deleting all the jre/jdk's on my computer.

Fresh install and reloading extensions fixed everything and I no longer get any error messages ... but of course my other program that used the other jre quit working.

Julien D
Julien DBest answer
ST Employee
June 26, 2025

Good that your problem is resolved.

Other jre/jdk should not interfere with the one you installed as a cube bundle. The cube jre is not declared system wise, via the registry for example, it is like unpacking an archive somewhere on the disk. It is safe to me to install back a jre at system level to get your other application working again.

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.
Visitor II
November 4, 2025

I just ran into the same / a similar (?) problem, I fixed it by deleting the adoptium-jre folder and retrying the installation, maybe this helps someone else too:

1. I turned off Visual Studio Code

2. Just to be sure I made a backup copy of the folder: "C:\Users\[USERNAME]\AppData\Local\stm32cube\bundles\adoptium-jre\"

3. Then I deleted the "adoptium-jre" folder and restarted Visual Studio Code

4. After a few seconds I was asked if I want to install the extension, I clicked yes. This time the installation worked for me...