cancel
Showing results for 
Search instead for 
Did you mean: 

Java Virtual Machine Launcher error when importing

ANauz.1
Senior II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Julien D
ST Employee

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.

View solution in original post

2 REPLIES 2
Julien D
ST Employee

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.

ANauz.1
Senior II

Hi Julien.

Thank you. Reinstallation indeed solve the problem.

Antoine