2021-07-14 09:35 AM
hi,
if i start the programmer from its bin directory then it starts w/ no problems. however, if i start the programmer outside of its bin directory then i get the 'No such file or directory' error.
when the programmer launches successfully there is an extra line printed on the terminal:
jar:file:/opt/st/stm32cubeprogrammer_2.7.0/bin/STM32CubeProgrammerLauncher!/fxml/Config.fxml
when it does not start then this line is not printed and instead the error message is printed.
any suggestions would be appreciated.
thanks,
vince
2021-07-15 01:16 AM
2021-07-15 08:13 AM
hi,
thank you for your reply.
i type in the following:
STM32CubeProgrammerLauncher
thanks,
vince
2021-07-16 02:36 AM
Hi vbuon.1,
You need to execute the script STM32CubeProgrammer located in the same directory of the launcher .
Please try and tell me if it is OK.
Houda
2021-07-16 08:20 AM
hi,
thanks for your suggestion.
the script failed bc the last line didn't have $DIR in front of 'jre/bin/java'. or, it didn't have 'cd $DIR' before the last line.
after i prepended '$DIR' to the last line i was able to launch the programmer
btw, what is this line that gets printed to the terminal by the programmer:
.jar:file:/opt/st/stm32cubeprogrammer_2.7.0/bin/STM32CubeProgrammerLauncher!/fxml/Config.fxml
thanks,
vince