System Workbench for STM32 failed to run on Mac OS X
Hi Unturned3,
You might have several JRE installed on your machine, to check this, open a Terminal and use java_home command :
Copy to clipboard
$ /usr/libexec/java_home -V Matching Java Virtual Machines (2): 1.8.0_101, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home 1.7.0_79, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home
Then the version in use is configured into the path:
/System/Library/Frameworks/JavaVM.framework/Versions/Current
But... on my side I didn't found a way to move the symblink to another JRE installation...
That's why I would suggest a simplest way, by using the eclipse.ini file of SystemWorkbench.app, to configure the JRE to use (SystemWorkbench.app/Contents/Eclipse/eclipse.ini)
To do that simply add the following lines before the -vmargs line:
Copy to clipboard
-vm /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/bin/java
And launch the application again.
Julien