Hi Kevin,
Good morning!
The issue is rather trivial. If you change to its bin folder before starting it 2.8.0 works.
cd ~/STM32MPU_workspace/STM32MPU-Tools/STM32CubeProgrammer-2.8.0/bin
./STM32CubeProgrammer &
If it is started from another path , the app returns this error and connect fails:
STM32MPU-Tools/STM32CubeProgrammer-2.8.0$ ./bin/STM32CubeProgrammer
jar:file:/home/glaure/Development/SW_APP/nexio_stm/STM32MPU-Tools/STM32CubeProgrammer-2.8.0/bin/STM32CubeProgrammerLauncher!/fxml/Config.fxml
Error occurred while parsing external Loader list
An error occurred.
java.io.FileNotFoundException: /home/glaure/Development/SW_APP/nexio_stm/STM32MPU-Tools/STM32CubeProgrammer-2.8.0/version (Datei oder Verzeichnis nicht gefunden)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.util.Scanner.<init>(Scanner.java:611)
at com.st.updaterManager.Utility.getProgrammerVersion(Utility.java:178)
at com.st.updaterManager.Utility.setIniParameters(Utility.java:331)
at com.st.controllers.MainWindowController.initialize(MainWindowController.java:900)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3214)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3175)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3148)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3124)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3104)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:3097)
at com.st.app.Main.start(Main.java:52)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:769)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$null$10(GtkApplication.java:245)
at java.lang.Thread.run(Thread.java:748)
1.0.0
It was just coincidence that 2.7.0 worked on my first try. The STM32CubeProgrammer startup script is missing the prefix $DIR variable to start the jre.
If this is fixed, it fails the same way as 2.8.0, when started from other working directories.
Hope that helps when you try to fix this issue.
Bye Gunther