I get the following error when I open Eclipse:
Incompatible JVM : Version 1.6.0_65 of the JVM is not suitable for this product. Version 1.7 or greater is required.
My eclipse.ini file has
-vm /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
(of course before -vmargs)
I have been trying to update to Java8 so I can get 1.8.0.jdk but it is not appearing at the above location, nor can I find it elsewhere.
When I run java --version
, I get the follow output:
java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)