Two ways to work around this .
- Recommended way : In your
eclipse.inifile make sure you are pointing -vm to your jdk installation. More on this here. Make sure to add
- Pass in the
vmflag 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.