Skip to main content
This topic has been closed for replies.
Olivier GALLIEN
Olivier GALLIENBest answer
ST Technical Moderator
Nov 24, 2020 07:53 UTC

Hi @MVENN.1​ ,

Only the last version 2.6 is supported on Ubuntu 20.04.

And since this version the JRE is bundle inside STM32CubeProgrammer and no longer need extra JRE package.

Olivier

In order 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.

43 replies

KnarfB
Super User
Nov 21, 2020 11:58 UTC

There is a detailed description in the wiki. Works fine for me. The latest version 2.6. should also have some improvements.

PatrickF
ST Employee
Nov 23, 2020 07:14 UTC
In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
MVENN.1
MVENN.1Author
Associate III
Nov 23, 2020 09:04 UTC

Thanks

I can able to flash the image in SD card through Windows only but only two images screenshots getting.

MVENN.1
MVENN.1Author
Associate III
Nov 23, 2020 13:43 UTC

when i am launch through the linux its getting errors this please once check.

Error: Unable to access jarfile /STM32CubeProgrammerLauncher

how to i open STM32Cubeprogramming in ubuntu.

MVENN.1
MVENN.1Author
Associate III
Nov 23, 2020 14:10 UTC

moveon@moveon-VirtualBox:/usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin$ sudo ./STM32CubeProgrammer

Error: Could not find or load main class com.st.app.Main

moveon@moveon-VirtualBox:/usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin$ 

This message i am getting

Olivier GALLIEN
ST Technical Moderator
Nov 23, 2020 21:50 UTC

Hi @MVENN.1​ ,

Which version of Ubuntu are you using ?

You should have a icon on the desktop.

You may have to right click / select "Allow Launching".

Then double click on this should launch CubeProg.

Could you also try to run the CLI for a check ?

Thanks

Olivier

In order 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.
MVENN.1
MVENN.1Author
Associate III
Nov 24, 2020 04:54 UTC

HI Olivier GALLIEN (ST Employee)

I am using Ubuntu 20.04 version.

on the desktop icon is there but it doesn't open when i am click to "Allow Launching"

it shows like

0693W000005CNwMQAW.jpg0693W000005CNwCQAW.jpgThanks

ArmandG
ST Employee
Nov 24, 2020 07:06 UTC

Hi @MVENN.1​ ,

First of all, did you do all these prerequisites:

PC $> sudo apt-get install openjdk-8-jre-headless

PC $> sudo update-alternatives --config java

Select the java-8-openjdk configuration.

PC $> sudo apt purge openjfx

PC $> sudo apt install openjfx=8u161-b12-1ubuntu2 libopenjfx-jni=8u161-b12-1ubuntu2 libopenjfx-java=8u161-b12-1ubuntu2

PC $> sudo apt-mark hold openjfx libopenjfx-jni libopenjfx-java

Then, did you well choose "$HOME/STM32MPU_workspace/STM32MPU-Tools/STM32CubeProgrammer-2.5.0" as path when installing the launcher ? And is it working when running "$HOME/STM32MPU_workspace/STM32MPU-Tools/STM32CubeProgrammer-2.5.0/./STM32CubeProgrammer" ?

Also, does the CLI is working ? (what do you get when running "$HOME/STM32MPU_workspace/STM32MPU-Tools/STM32CubeProgrammer-2.5.0/./STM32_Programmer_CLI")

Armand

Olivier GALLIEN
Olivier GALLIENBest answer
ST Technical Moderator
Nov 24, 2020 07:53 UTC

Hi @MVENN.1​ ,

Only the last version 2.6 is supported on Ubuntu 20.04.

And since this version the JRE is bundle inside STM32CubeProgrammer and no longer need extra JRE package.

Olivier

In order 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.
MVENN.1
MVENN.1Author
Associate III
Nov 24, 2020 08:05 UTC

Hi Olivier GALLIEN (ST Employee )

Thank you for reply.

I am just installer STM32Cubeprogrammer 2.5.0 version in Ubuntu 20.04

can you please give steps to install the 2.6 version.

Thanks

Olivier GALLIEN
ST Technical Moderator
Nov 24, 2020 09:05 UTC

Hi @MVENN.1​ ,

Download STM32CubePrg-Lin package here : https://www.st.com/en/development-tools/stm32cubeprog.html

Olivier

In order 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.
MVENN.1
MVENN.1Author
Associate III
Nov 24, 2020 10:02 UTC

Hi Olivier GALLIEN (ST Employee)

Thanks its working fine.

when I launch and connect the device it shows like

I installed USB port also.

MVENN.1
MVENN.1Author
Associate III
Nov 24, 2020 13:27 UTC

Hi Olivier GALLIEN (ST Employee)

I can able to install and connecting is ok but when i connect the device it showing like this please once check it.

0693W000005CT41QAG.jpgThank

MVENN.1
MVENN.1Author
Associate III
Nov 24, 2020 13:41 UTC

please check i getting this warning

MVENN.1
MVENN.1Author
Associate III
Nov 24, 2020 13:41 UTC

0693W000005CTHAQA4.jpg