cancel
Showing results for 
Search instead for 
Did you mean: 

Problem: STM32CubeMX missing JRE

hu
Associate II
Posted on October 11, 2016 at 12:01

Hi all,

I just downloaded the STM32CubeMX software from st.com and tried to run it on my Mac, but nothing showed up and I got an error message saying ''missing java runtime environment''. Then I installed the latest java, 1.8, but it still doesn't work. 

I tried some debug methods, but non worked.

Please help. Any suggestion would be appreciated.

Thank you

#bug-stm32cubemx
5 REPLIES 5
Nesrine M_O
Lead II
Posted on October 11, 2016 at 12:08

Hi hu.richard,

Thank you for your feedback. The issue has been reported internally.

-Syrine-

stm32cube-t
Senior III
Posted on October 11, 2016 at 13:16

Hello,

Can you please confirm you installed the JDK version (is mandatory for MAC) and not only JRE version .

Thanks for your feedback

Elwood Downey
Associate II
Posted on October 11, 2016 at 17:11

I reported this way back in July to support with item TECH021111 but no one ever responded. I finally got Cube to run with the following commands typed into Terminal:

export PATH='/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin:/usr/bin:/bin'

open /Applications/STMicroelectronics/STM32CubeMX.app

hu
Associate II
Posted on October 13, 2016 at 04:45

Hi, 

I don't know what is the JDK thing.

Could you please provide a link to it?

thank you!

hu
Associate II
Posted on October 14, 2016 at 08:35

Hi downey,

I tried to use the terminal command that you used to launch STM32CubeMX but I doesn't work. It just got an error and exited.

Any ideas?

P.S. Can the mbed online compiler directly download a program onto a Nucleo dev board via USB? If it can then I don't really need STM32CubeMX anymore.