Skip to main content
TSITU
Associate
April 27, 2020
Solved

I'm getting this message when I open STM32CubeMx version 5.6, but I have the latest version of java which is 1.8.0_251. see image 2. I don't know what's the problem? Does anyone knows what's going on?

  • April 27, 2020
  • 4 replies
  • 1263 views

image 2.

This topic has been closed for replies.
Best answer by TSITU

Thanks! I see the problem.

I had to uninstall the Java 8.0_251-b08

and download a Java: jre-8U251-window-x64.exe from

https://java.com/en/download/manual.jsp

to resolve my warring message.

My assumption was the latest Java version 8 update 251 was the latest and I read somewhere on the website it was a 64-bit. I was wrong.

Thanks for all the help and point me to the right direction.

4 replies

TDK
April 27, 2020

Your image did not show up.

Regardless, unless the error message is specific enough, the best advice is probably going to be some combination of:

* Uninstall CubeMX

* Uninstall Java

* Reinstall Java

* Reinstall CubeMX

"If you feel a post has answered your question, please click ""Accept as Solution""."
TSITU
TSITUAuthor
Associate
April 28, 2020

HI TDK,

Thanks for the advice,

This is the warning I got when I open the CubeMx:

0693W000000WcPDQA0.jpg

This is the Java version install on my laptop. When open the "cmd" to run the command: java -version. 0693W000000WXrlQAG.jpg

As you can see I have the latest version of Java, which is a 64-bit. I don't see how the CubeMx software detect a 32-bit,

FYI: I did what you suggested before I posted on the forum.

Tom

BTrem.1
Senior
April 29, 2020

I don't think that is 64-bit.

My install says this:

Java(TM) SE Runtime Environment (build 1.8.0_251-b08)

Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)

TSITU
TSITUAuthorBest answer
Associate
April 30, 2020

Thanks! I see the problem.

I had to uninstall the Java 8.0_251-b08

and download a Java: jre-8U251-window-x64.exe from

https://java.com/en/download/manual.jsp

to resolve my warring message.

My assumption was the latest Java version 8 update 251 was the latest and I read somewhere on the website it was a 64-bit. I was wrong.

Thanks for all the help and point me to the right direction.