System Workbench for STM32 failed to run on Mac OS X (solved :D)
Hi all,
I just wanted to note what might have happened to the other users - a strange, single binary file called "jre" inside the Workbench application preventing you from launching it.
In my case (and I suspect others), it was because I had downloaded a JRE for unrelated projects in the past, so in the same directory as my install_sw4stm32_macos_64bits-latest.run file was several friends, such as jre-7u60-macosx-x64.dmg and jre-8u101-macosx-x64.dmg.
It appears that the install script will decompress into the current directory, then just search for any files beginning "jre" and use the first it finds, so it was always picking up one of the downloaded disk images and not the directory it just expanded.
Running it in its own temporary directory should correct the issue, but I think it might help if the install script instead expands the built-in jre blob into a newly created temporary directory under /tmp
Hope that helps someone!