Two ways to work around this .
- Recommended way : In your
eclipse.ini
file make sure you are pointing -vm to your jdk installation. More on this here. Make sure to add-vm
before the-vmargs
section. - Pass in the
vm
flag from command line. http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F#Find_the_JVM
Note : Eclipse DOES NOT consult the JAVA_HOME environment variable.