Skip to main content
Dan Mackie
Associate III
Jun 15, 2020 5:07 PM UTC
Question

Running Windows 10, CubeMX complains about wanting Java JRE 1.8.0_45 64 bit or a more recent version. Downloading a 64 bit version of Java does not resolve this issue. Where do I get a version that makes CubeMX happy?

..

This topic has been closed for replies.

7 replies

TDK
Jun 16, 2020 12:14 AM UTC

Depending on your system path settings, another Java version might be ran instead of the one it needs. Just a guess.

This version of Java works for me:

C:\Program Files\Java\jre1.8.0_102>java -version

java version "1.8.0_102"

Java(TM) SE Runtime Environment (build 1.8.0_102-b14)

Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)

"If you feel a post has answered your question, please click ""Accept as Solution""."
Dvorak.Peter
Associate II
Jun 16, 2020 3:05 AM UTC

First uninstall all Javas. Then install new one

Dan Mackie
Associate III
Jun 26, 2020 2:36 PM UTC

The following version has resolved matters. Thanks.

Dan Mackie
Associate III
Jun 26, 2020 2:40 PM UTC

I pasted in a clip from "control panel installed software", and that paste got tossed by ST when my foregoing answer was posted, so here it is in plain text.

Jave 8 Version 251 (64 bit) (version 8.0.2510.8) resolved matters.

Mdede.1
Associate
Jul 27, 2020 10:35 PM UTC

I am just trying to install this version of CubeMX and it gives me the same error during install. I currently have Java 8 Version 261 (64 bit) (build 1.8.0_261-b12) and no other version installed an yet it still fails to install. Any ideas?

Dan Mackie
Associate III
Jul 28, 2020 12:02 AM UTC
Running Cube MX 5.5.0 over Java 8 251 64 bit 8.0.2510.8
Mdede.1
Associate
Jul 28, 2020 12:39 AM UTC

I resolved my issue. The Java utilities seemed to not report the version correctly. I think it was always installing the 32 bit version. Resolved by uninstalling the latested Java update and manually downloading the latest Windows Offline 64bit file and install that. version 6.0 now works