MacOS – I can’t run Eclipse on Macbook on Yosemite: “Version 1.6.0_65 of the JVM is not suitable for this product.” and I have Java 1.8 (shows in settings)

eclipsejavamacos

I can't run Eclipse on Macbook on Yosemite: "Version 1.6.0_65 of the JVM is not suitable for this product." and I have Java 1.8. When I open settings I can see that version of Java is 1.8

Best Answer

It has worked for me to change inside info.plist

<key>JVMVersion</key>

from <string>1.6*,1.7+</string> to <string>1.8*,1.6*,1.7+</string>

and inside ./bin/idea.properties change JVMVersion=1.6* to JVMVersion=1.8*