cancel
Showing results for 
Search instead for 
Did you mean: 

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

Ggast
Associate III
 
5 REPLIES 5
Khouloud ZEMMELI
ST Employee

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
Associate III

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
Associate

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
Associate

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
Associate III

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

Why don't they fix that problem?