2017-02-22 06:30 AM
I'm trying to install STM32CubeMX on Win10 64bit.
I know I have Java Version 8 Update 121 installed and I'm sure it's working (since I'm using it).
Now when I invoke SetupSTM32CubeMX-4.19.0.exe a window pops open after a couple of seconds saying:
STM32CubeMX Installer
The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted.
And that is it.
It doesn't say which Java Version it's looking for nor does it say which one it finds (corrupted).
Can somebody help, please??
#stm32cubemx #stm32cubemx-install #stm32cubemx-javaSolved! Go to Solution.
2017-02-22 07:24 AM
Hi,
It's recommended to uninstall all older versions of Java before to install the new one.
Maybe this is the cause of your problem, as the new installation of java doesn't automatically replace the old installations.
Please try this suggestion then let me know if it is OK with this suggestion.
Imen
2017-02-22 07:24 AM
Hi,
It's recommended to uninstall all older versions of Java before to install the new one.
Maybe this is the cause of your problem, as the new installation of java doesn't automatically replace the old installations.
Please try this suggestion then let me know if it is OK with this suggestion.
Imen
2017-02-22 08:58 AM
Thanks, this did the trick.
I uninstalled Java.
Then I tried to install SetupSTM32CubeMX-4.19.0.exe and it said 'This application requires a Java Runtime Environment 1.7.0_45'. This indicated that it noticed the uninstall of Java.
Then I installed the latest Java version (Version 8 Update 121) an the STM32CubeMX installed just fine.
2017-03-08 10:38 AM
Having to uninstall other Java versions is not acceptable - as other tools may be relying upon them.
2017-03-09 08:51 AM
I tend to agree with this.
Also: it requested a 32-bit JRE version although I'm running Win10-64bit. Strange.
2017-03-10 05:01 AM
Also: it requested a 32-bit JRE version although I'm running Win10-64bit. Strange.
ST are not unique in that - I've seen several tools that require 32-bit JRE even on 64-bit systems.
2017-06-11 05:57 AM
I had the same problem.
Try this:
cmd.exe as administrator
> java -jar \path\to\SetupSTM32CubeMX-4.xx.x.exe
2017-08-07 11:48 AM
Fantastic, this worked for me after much messing with Java versions. Thanks!
2017-10-22 09:00 PM
Unfortunately your fix did NOT work for me... I also need the versions of Java on my system that are in place.
I verified the existence of each of the java versions in the registry:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
Is there another registry key I should be checking?
2017-10-26 03:45 PM
Unfortunately your fix did NOT work for me... I also need the versions of Java on my system that are in place.
I verified the existence of each of the java versions in the registry:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
Is there another registry key I should be checking?