Skip to main content
ANauz.1
Senior
April 26, 2021
Solved

Java Virtual Machine Launcher error when importing

  • April 26, 2021
  • 2 replies
  • 1776 views

Hello,

I'm trying to import a project in STM32CubeIde. Each time I have the following error from the Java Virtual Machine Launcher:

"Error: Unable to access jarfile C:\Program"

I have the same error when directly trying to launch STM32CubeIDE (projet importerà.exe in CubeIDE subdirectory.

STM32CubeIde works properly!

I already uninstall/reinstall Java and CubeIde, whith no succes.

My configuration:

  • STM32CubeIde 1.6.1
  • Java 291

Any idea what is wrong here?

--edit--

same error when, after generating with CubeMX, I select "Open Project"

Thank you

Antoine

This topic has been closed for replies.
Best answer by Julien D

Hi Antoine,

You're facing a regression introduced in 1.6.0 when STM32CubeIDE is installed into a path containing spaces (Program Files).

Waiting for 1.7.0 I suggest you to reinstall the tool at the default location.

2 replies

Julien D
Julien DBest answer
ST Employee
April 26, 2021

Hi Antoine,

You're facing a regression introduced in 1.6.0 when STM32CubeIDE is installed into a path containing spaces (Program Files).

Waiting for 1.7.0 I suggest you to reinstall the tool at the default location.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
ANauz.1
ANauz.1Author
Senior
April 26, 2021

Hi Julien.

Thank you. Reinstallation indeed solve the problem.

Antoine