系统是win10 64位 打开STM32CubeProgrammer时,提示如下错误 STM32CubeMX和stm32CubeIDE均可以正常运行。 尝试过使用管理员权限和使用java直接运行安装包,都报相同的错误。 尝试过STM32CubeProgrammer的版本为2.4和2.5。 java -version java version "1.8.0_261" Java(TM) SE Runtime Environment (build 1.8.0_261-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode) javac -version javac 1.8.0_261 |
Instructions to install and launch STM32CubeProgrammer (V2.5.0) with ZULU 8
To avoid issues linked to java (javafx missing library), some workarounds are available using the ZULU 8 which is basically an openjdk with and integrated javafx
Windows(32/64 bits):
1) Download Zulu Jre 8 from (https://cdn.azul.com/zulu/bin/zu ... 8.0.242-win_x64.zip)
2)Unzip the package in your machine
3) Change the Zulu\bin\java.exe settings to fit the high resolution screens settings:
-Right click on Zulu\bin\java .exe
-Select properties, then the compatibility tab --> Settings and tick override high DPI scaling behavior [System]
4)Install STM32CubeProgrammer with ZULU JRE8:
-Run CMD with administrator privilege.
-Install STM32CubeProgrammer "Zulu"\bin\java.exe -jar SetupSTM32CubeProgrammer-2.5.0.exe
5) After installation, you can launch the tool now through CMD
-Open CMD window(no admin rights are needed)
- Go to STM32CubeProgrammer install location: "....\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin"
-Launch with this command: "Zulu_install_location\bin\java.exe -jar STM32CubeProgrammer.exe"