cancel
Showing results for 
Search instead for 
Did you mean: 

Failure: CubeProgrammer_API or one of its depndencies missing. Please try reinstalling the program or check your java architecture.

MScha.10
Associate

Hello everyone,

I have the following failure.

  1. I installed the STM32 Cube Programmer on Windows 10
  2. After installation I tried to start the programm but the programm will not start and i get the failure.

"CubeProgrammer_API or one of its depndencies missing. Please try reinstalling the program or check your java architecture."

But on my windows 10 system is "Microsoft OpenJDK 11.0.16.101 in 64 Bit" already installed.

Does anyone have a tip or an idea what to do to make the program work?

3 REPLIES 3
Houda GHABRI
ST Employee

Hi @MScha.10​ ,

Can you please tell how do you launch CubeProgrammer, using command line or GUI?

Did you install it using admin rights? Try to install it and run it as admin.

Houda

MScha.10
Associate

Hi Houda,

Thank you, for your answer. I tried to launch CubeProgrammer with the GUI.

I installed it with admin rights and also tried to run with admin rights.

Max

Houda GHABRI
ST Employee

Hi @MScha.10​ ,

Sorry for the delay.

It seems to be a java issue (FYI no need to install any Java on your machine since 2.6.0) , I suggest you use these steps :

  • Open CMD with admin rights.
  • unset JAVA_TOOL_OPTIONS and _JAVA_OPTIONS environment parameters(just set them to null JAVA_TOOL_OPTIONS= ).
  • Go to the install folder : cd C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer-2.11.0-RC4\bin
  • Use this command to launch CubeProgrammer :jre\bin\java.exe -jar STM32CubeProgrammer.exe

Please test and tell me if it is OK.

Houda