Skip to main content
Ayouy.1
Visitor II
December 14, 2022
Solved

Bundled java Runtime missing or corrupted

  • December 14, 2022
  • 2 replies
  • 10965 views

I have installed new stm32programmer version 2.12.0 but when I try to lunch it i get this error in lunch4j plugin : This application was configured to use a bundled Java Runtime Environment, but the runtime is missing or corrupted.

Any solution for this issue ?

Thank you.

Best answer by Sara BEN HADJ YAHYA

Hello @Ayouy.1​ ,

Thanks for your feedback,

Could you please try running CubeProgrammer with CLI. To do so, you need to open CMD, navigate to CubeProgrammer install folder and then type the following command:

java -jar STM32CubeProgrammer.exe

I hope this helps !

Sara.

2 replies

Tesla DeLorean
Guru
December 14, 2022

Perhaps search on prior similar complaints, this has been a recurrent complaint.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
ST Employee
December 16, 2022

Hello @Ayouy.1​ ,

Thanks for your feedback,

Could you please try running CubeProgrammer with CLI. To do so, you need to open CMD, navigate to CubeProgrammer install folder and then type the following command:

java -jar STM32CubeProgrammer.exe

I hope this helps !

Sara.

Visitor II
February 29, 2024

Hello, I have the same problem with the last version (ver.2.15.0) of CubeProgrammer. I try to do your solution, but it doesn't work. 

This is the msg error:

"C:\Program Files\STMicroelectronics\STM32CubeProgrammer\bin>java -jar STM32CubeProgrammer.exe
Error: unable to find or load main class com.st.app.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application"

Anny idea?

Visitor II
November 25, 2024

Have the same problem. This error means that instalator cant find your java folder. Im replaced installer to C:\Program Files\Java and rename folder "jre _1.8***" to simple "jre" and it works for me. Hope it will help you too.