STM32CubeProgrammer安装后运行时提示:This application was configured to use a boundled Java Runtime Environment but the runtime is missing or corrupted
这个问题一般是安装过程出现错误,执行安装文件的bat时权限错误导致安装文件缺失
一般出现这个错误还伴随安装中提示出现 cannot run program "*****.bat":CreateProcess error=2
这时 不要点确定, 手动以管理员模式打开命令提示符(cmd) 进入对应目录下 手动执行对应的bat文件
然后运行桌面或者开始菜单的 STM32CubeProgrammer . 如果提示 This application was configured to use a boundled Java Runtime Environment but the runtime is missing or corrupted
这说明 STM32CubeProgrammer 找不到jre , 如果你的TSM32CUBEMX 使用正常, 那就把它目录下 jre 复制到 STM32CubeProgrammer\bin下
如果没有在这里下载 https://download.csdn.net/download/yoya0303/86248001