2018-01-15 12:17 PM
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.2018-01-15 11:38 PM
It's rather environment error. Check the software requirements:
Especially jre (at least 1.7_45).
2018-01-16 04:36 AM
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.
2018-01-16 04:44 AM
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
2018-01-16 04:47 AM
I did check to see if Java was current and correct and the result came back up todate.
2018-01-16 04:58 AM
Another idea: maybe the PC is 64bit but jre 32 and CubeMX is misled?
2018-01-16 05:01 AM
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.
2018-01-16 05:47 AM
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?
2018-01-16 06:00 AM
On my 64 bits machine the Cube is located in a 32bit folder:
C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeMX