Skip to main content
Dan Mackie
Associate III
June 15, 2020
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?

  • June 15, 2020
  • 7 replies
  • 1849 views

..

This topic has been closed for replies.

7 replies

TDK
June 16, 2020

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
June 16, 2020

First uninstall all Javas. Then install new one

Dan Mackie
Associate III
June 26, 2020

The following version has resolved matters. Thanks.

Dan Mackie
Associate III
June 26, 2020

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
July 27, 2020

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
July 28, 2020
Running Cube MX 5.5.0 over Java 8 251 64 bit 8.0.2510.8
Mdede.1
Associate
July 28, 2020

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