cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube4.23.0

Harold Vogel
Associate II
Posted on January 15, 2018 at 21:17

Installed STM32Cube4. The icon does not show this is on the desktop (picture attached). When I click on the 'icon' I receive the attached error message: 'The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted.'

I reinstalled with the same error.

I am running Windows 7.

Note: this post was migrated and contained many threaded conversations, some content may be missing.
8 REPLIES 8
Posted on January 16, 2018 at 08:38

It's rather environment error. Check the software requirements:

http://www.st.com/content/ccc/resource/technical/document/release_note/b2/02/4b/e3/81/32/49/c4/DM00107607.pdf/files/DM00107607.pdf/jcr:content/translations/en.DM00107607.pdf

 

Especially jre (at least 1.7_45).

Posted on January 16, 2018 at 12:36

Yes, I checked the requirements I even checked to see if I have the latest Java Runtime.  All seem to be within the requested requirements.

Posted on January 16, 2018 at 12:44

Check the registry:

\HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
and the related paths. Maybe need to reinstall the jre if the path is broken / non-existent

Posted on January 16, 2018 at 12:47

I did check to see if Java was current and correct and the result came back up todate.

Posted on January 16, 2018 at 12:58

Another idea: maybe the PC is 64bit but jre 32 and CubeMX is misled?

Posted on January 16, 2018 at 13:01

I never thought of that, how would I check to see if the JRE is 32 or 64 bit?  The Java test that is run only indicates that it is the current version.

Posted on January 16, 2018 at 13:47

I found that the Java JRE is 64 bit as well as my OS.  How do I know if the CubeMX is 32 or 64 bit?

Posted on January 16, 2018 at 14:00

On my 64 bits machine the Cube is located in a 32bit folder:

C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeMX