Skip to main content
Ggast
Associate III
July 28, 2021
Question

Installation fails for STM32CubeMX-6.3.0-Win with error jvm.cfg cannot open (file isn't there) What to do?

  • July 28, 2021
  • 5 replies
  • 1661 views

..

This topic has been closed for replies.

5 replies

Khouloud ZEMMELI
ST Employee
August 2, 2021

Hello @Ggast​ 

Are you still facing this problem? If yes, are you using the version present on st.com ? And could you please provide me steps to reproduce it?

Thanks, Khouloud

Ggast
GgastAuthor
Associate III
August 3, 2021

Used this from STM website: en.stm32cubemx-win_v6-3-0_v6.3.0

There is not much to say about. Installation runs for a while then stops with that error (cannot open jvm.cfg (it is nowhere)).

Tried a couple of times, also after having removed everything with an uninstaller from the failed installations (including registry setting).

Interestingly, in the latest CubeIde the CubeMx works fine.

IronMouse
Visitor II
August 4, 2021

Hi @Khouloud ZEMMELI​ ,

I have same problem.

Error message is from install process 4, and in uninstall.

The folder is existed, just jvm.cfg is missing.

How to fix it?

0693W00000D1ZfrQAF.jpg0693W00000D1Zg6QAF.jpgThanks.

IronMouse
Visitor II
August 7, 2021

Hi @Ggast​ ,

After some try-and-error, it work for me.

Because some jre files is not extracted from installer.

Try to extract "SetupSTM32CubeMX-6.3.0-Win.exe" manually(ex. WinRAR).

You will get "jre" folder, "Readme.html" and "SetupSTM32CubeMX-6.3.0.exe".

Run "SetupSTM32CubeMX-6.3.0.exe" with administrators rights.

Thanks.

Ggast
GgastAuthor
Associate III
March 17, 2022

Hi Ironmpouse, that ultimately works though not a convenient way.

Why don't they fix that problem?