2022-12-14 02:46 PM
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.
Solved! Go to Solution.
2022-12-16 12:10 AM
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.
2022-12-14 03:07 PM
Perhaps search on prior similar complaints, this has been a recurrent complaint.
2022-12-16 12:10 AM
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.
2024-02-29 08:22 AM
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?
2024-11-25 03:44 AM - edited 2024-11-25 03:45 AM
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.