2021-02-21 12:02 AM
Hi,
I can not generate a simple project for Keil any more, The problem happened after I have upgraded my CubeMX from version 6.0 to 6.1.1
How should I solve the problem? what's going on wrong?
Solved! Go to Solution.
2021-02-21 11:24 PM
Hello @ali_dehbidi
This issue is normally linked to the java version used.
In fact, the minimum JRE version supported by cubeMX is 1.8_45, same for the version 11. For versions 7, 9, 10, 12 and upper, they are not supported and therefore a similar issue appears.
If you still face the same problem even when the java version used is supported, so there was a problem which happened during the Cube upgrade, in this case, please uninstall and re-install the CubeMX from site, and the problem will be fixed.
Hope my answer helped you, I'll be waiting for your feedback :) .
Thanks, Khouloud
2021-02-21 11:24 PM
Hello @ali_dehbidi
This issue is normally linked to the java version used.
In fact, the minimum JRE version supported by cubeMX is 1.8_45, same for the version 11. For versions 7, 9, 10, 12 and upper, they are not supported and therefore a similar issue appears.
If you still face the same problem even when the java version used is supported, so there was a problem which happened during the Cube upgrade, in this case, please uninstall and re-install the CubeMX from site, and the problem will be fixed.
Hope my answer helped you, I'll be waiting for your feedback :) .
Thanks, Khouloud
2021-02-22 12:27 AM
Hi Khouloud
Thanks for the feedback, I have uninstalled and reinstalled the CUBE same problem, would you please send me the exact JAVA version that's supported, so I can test to see if it would be ok, I'm using windows 10.
Best Regards
2021-02-22 04:40 AM
Hi @ali_dehbidi
All versions mentioned as supported in my last comment are supported by CubeMX, for my case, I'm using the 1.8.0_265 version (as an example).
If you still face a problem, please share your log file after facing the issue (log under C:\Users\..\.stm32cubemx).
Thanks, Khouloud
2021-02-23 12:03 AM
Thanks Khouloud, the problem is solved. It was the java version.
2021-02-23 12:11 AM
Great :) When your question is answered, please close this topic by choosing Select as Best (the answer that answered your question or that solved your problem). This will help other users find that answer faster.
Always welcome @ali_dehbidi