STM32CubeProgrammer abbreviation STM32CubeProg, Is a suitable for STM32 Cross platform of series products , Multi in one program burning tool .

* “ Cross platform ” Reflected in support Windows,macOS and Linux operating system , So the software needs to run Java Environmental Science .
* “ Multiple in one ” Reflected in support USB,ST-LINK,UART,OTA Multiple ways to burn and write firmware .

download en.stm32cubeprog.zip And decompress , There are three installation files in it , Corresponding to three operating system platforms .
. ├── SetupSTM32CubeProgrammer-2.2.0.app # MacOS install ├──
SetupSTM32CubeProgrammer-2.2.0.exe# Windows install └──
SetupSTM32CubeProgrammer-2.2.0.linux# Linux install
stay Ubuntu in , Execute the following command to install
sudo ./SetupSTM32CubeProgrammer-2.2.0.linux
The problem is that it doesn't work after installation , appear “ error : Cannot find or load main class com.st.app.Main” Error prompt for . as a result of ST Of Tools are used Oracle
Of JDK Developed , instead of Ubuntu Default installed Open-JDK.

<>Ubuntu 16.04 Installation problems

Ubuntu 16.04 function STM32CubeProg The following error occurred
error : Cannot find or load main class com.st.app.Main
as a result of ST Of Tools are used Oracle Of JDK Developed , instead of Open-JDK, Therefore, you need to execute the following command to install openjfx.
sudo apt install openjfx
You can then start it on the command line
cd STM32CubeProgrammer/bin sudo ./STM32CubeProgrammer
Successfully started

<>Ubuntu 18.04 Installation problems

It can't be solved by the above methods Ubuntu 18.04 Problems encountered in .

!!!Ubuntu 18.04 How to install Oracle Java 8 ?

Method 1 , Automatic installation
sudo add-apt-repository ppa:webupd8team/java sudo apt update sudo apt install
oracle-java8-installer
set as default JDK
sudo update-java-alternatives -s java-8-oracle

Method 2 , Manual installation

I downloaded it in advance here jdk-8u172-linux-x64.tar.gz, Extract it to /usr/lib/jvm catalog .
sudo tar zxvf jdk-8u172-linux-x64.tar.gz -C /usr/lib/jvm
Put this JDK Register to system
sudo update-alternatives --install /usr/bin/java java
/usr/lib/jvm/jdk1.8.0_172/bin/java 300
switch JDK
sudo update-alternatives --config java

Restart
cd /usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin sudo
./STM32CubeProgrammer

Technology
©2019-2020 Toolsou All rights reserved,
JS How to operate C Language console games , Make bricks use Python Do automated testing (pytest The essence of framework ) First knowledge MySQL Comprehensive review ( dried food )Python+OpenCV Detailed explanation of face recognition technology Baidu , Ali , Tencent's internal position level and salary structure , With job suggestions ! Image explanation of over fitting and under fitting Huawei certification HCIA-AI artificial intelligence New York Youth Project “ Recapture Wall Street ”: Safeguarding the interests of retail investors CSS architecture design