title: Google didnt help - A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse
body: <p>Looks like a common issue, but facing issues inspite of searching around.</p>
  
  <p>My environment: Win7 64.</p>
  
  <p>Downloaded: <a href="http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-6u3-jdk-6u29-downloads-523388.html" rel="nofollow noreferrer">Java from here</a> and Eclipse <a href="http://developer.android.com/sdk/index.html#download" rel="nofollow noreferrer">from Here</a>
  After installing Java &amp; extracting eclipse, I try to run Eclipse from unzipped folder and get the error.  <img src="https://i.stack.imgur.com/CCayr.png" alt="enter image description here">.</p>
  
  <p>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 &amp; Java the recommended way, although i have zero Java experience, so far.</p>
  
  <p>Here is what I have tried.</p>
  
  <ol>
  <li><p>Created env variables <a href="https://stackoverflow.com/questions/11621926/a-java-runtime-environment-or-java-development-kit-must-be-available-in-order-to">as per this thread</a>. 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?)</p></li>
  <li><p>Modifying eclipse.ini - <a href="https://stackoverflow.com/questions/2162121/eclipse-will-not-open-due-to-environment-variables">from this link</a>
  (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?)</p></li>
  </ol>
  
  <p>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)</p>