OS X Mavericks. I installed the 64-bit latest eclipse few weeks ago. It ran just fine. A few weeks later, I installed jenv and, I believe, since then eclipse isn't working fine. To be sure, both eclipse and JDK 8 are 64-bit. Why do I get the error dialog "Incompatible JVM" with message as "Version 1.6.x of the JVM is not suitable for this product. Version 1.7.0 or greater is required".
After locating the eclipse.ini, I find this in the eclipse.ini file.
-vmargs
-Dosgi.requiredJavaVersion=1.7
Why did eclipse work earlier and why isn't it working fine now ?
anjanMac:eclipse anjanb$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home
anjanMac:eclipse anjanb$
I can compile and run java(using jdk 8) just fine on the command line.
So, what's wrong and how do I fix it ?