cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to Run STM32CubeMX Tool

Nitesh Padiyar
Associate II
Posted on June 13, 2018 at 11:19

I have installed STM32CubeMx IDE Tool, i am getting error while i run the tool ,Please let me know how to resolve this

0690X00000604fxQAA.jpg
11 REPLIES 11
Khouloud GARSI
Lead II
Posted on June 13, 2018 at 13:57

Hi

nitesh.padiyar

‌,

We will check this and answer you ASAP.

Khouloud.

Posted on June 19, 2018 at 09:38

Hi

nitesh.padiyar

,

It seems that you have problem with java version which can not be compatible with your CubeMX version. Please can you specify this two information (java and CubeMX version).

As an information, the help document of CubeMX precises the minimal java version that can work with. Here is an example for CubeMX 4.

0690X0000060BiIQAU.png

Best Regards,

Mohamed.

Posted on June 19, 2018 at 12:13

Hi,

Java run time environment version is 1.8.0_151 in my laptop.

0690X00000604i6QAA.jpg

Please confirm whether this is right?

Nitesh

Posted on June 20, 2018 at 15:48

Hi

nitesh.padiyar

,

As mentioned in the picture below extract of CubeMX help, for macOS, you should install Java Development Kit JDK and not JRE (Run time Environment) to run CubeMX correctly.

0690X0000060BkJQAU.png

Hoping it helps you, please do not hesitate to contact me for further details.

Best Regards,

Mohamed.

Posted on June 21, 2018 at 05:20

Hi ,

I am using Windows 7, not mac OS. Please let me know solution for the windows.

Nitesh

Posted on June 21, 2018 at 09:23

Hi,

Can you please share your log file (you find it under this directory: C:\Users\mohamed mansouri\.stm32cubemx) to figure out the problem.

Thanks,

Best Regards,

Mohamed.

Posted on June 21, 2018 at 14:02

Hi,

Unfortunately, I'm not able to reproduce your issue. CubeMX runs properly with 1.8.0 java version. Can you please try to select just 1.8.0_151 java version and disabled the two others versions installed in your laptop.

Best Regards,

Mohamed.

Posted on June 21, 2018 at 13:45

Not finding the log folder also in my system

Posted on June 21, 2018 at 15:23

Perhaps it has an issue with finding JRE 9.0, or there is some old junk still in the registry.

I just have JRE 1.8.0.151 installed (not multiple) and the Java Control Panel looks different. That runs CubeMX without problems.

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