Looks like a common issue, but facing issues inspite of searching around.
My environment: Win7 64.
Downloaded: Java from here and Eclipse from Here
After installing Java & extracting eclipse, I try to run Eclipse from unzipped folder and get the error. .
My background: C# .net / C++ - windows development. I would prefer to use C#. But not that adventurous to try going mono on android (unless recommended - unlikely). So trying to go Eclipse & Java the recommended way, although i have zero Java experience, so far.
Here is what I have tried.
Created env variables as per this thread. Didnt help. Java Install folder was - 'C:\glassfish3\jdk' Tried referencing both environment path with both these locations - 'C:\glassfish3\jdk\bin' and 'C:\glassfish3\jdk\jre\bin'. (I presume i should reference the latter - jre being the runtime environment?)
Modifying eclipse.ini - from this link (I dont think i am doing this right. I am not sure how to go about this. How to modify this file. Didnt try experiment much. Also, Do i need to remove the environment variables from previous step before attempting this?)
Could there be problem with the java i installed? There was some configuration items which popped up while installation. I just continued without configuring. (I thought it wes the additional items which i didnt need - glassfish)