Loading...
 
Skip to main content

System Workbench for STM32


Eclipse JAVA 1.8 MacBook OSX

Hi, I installed Eclipse on my MacBook if I start up the SystemWorkbench.app I get the error:

Version 1.6.0_65 of the JVM is not suitable for this product.
Version: 1.7 or greater is required.

On my MacBook I have JAVA 1.8.
Does Eclipse works with JAVA version 1.8 or do I need version JAVA 1.7?

I run OSX version 10.12.3 and XCODE version 8.2.1.

thanks,

John

Hi John,

I'm daily working with Eclipse and Java8 and I confirm it works ๐Ÿ˜Š

EDIT: you probably have several Java installed on your Macbook, and Eclipse picks the wrong (1.6.0_65).
Have a look on this thread and check if the tips solves your issue: System Workbench for STM32 failed to run on Mac OS X (solved ๐Ÿ˜€)

The problem was not JAVA1.8 that was installed but the JAVA JDK.
JAVA was uodated to version 1.8 but the JAVA JDK was still version 1.6. With the terminal command:

$ /usr/libexec/java_home -V

it shows the following:

Last login: Mon Feb 13 09:59:51 on console
JgMacBookPro:~ johngeelen$ /usr/libexec/java_home -V
Matching Java Virtual Machines (2):
1.6.0_65-b14-468, x86_64: "Java SE 6" /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
1.6.0_65-b14-468, i386: "Java SE 6" /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

After updating the JDK to version 1.8 from the JAVA websit:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Eclipse works!

Thanks for the information,

John


 
Collapse/expand modules below