cancel
Showing results for 
Search instead for 
Did you mean: 

Bundled java Runtime missing or corrupted

Ayouy.1
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Sara BEN HADJ YAHYA
ST Employee

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.

View solution in original post

3 REPLIES 3

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Sara BEN HADJ YAHYA
ST Employee

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.

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?