Question: 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)

Answer: 
From the command line (Applications -> Utilities -> Terminal), run the command

```
/usr/libexec/java_home

```

This will return the location of the 1.8 JDK. Incidentally, this *should* match

```
echo $JAVA_HOME

```

if that variable is set.
You must use a 64-bit version of Eclipse 4.4 with OS X.