Saturday, February 23, 2013

Android Eclipse SDK installation

Trying to launch Eclipse on windows 7 64 bit or 32 bit

Android Eclipse SDK installation
Screenshot Android Eclipse SDK installation error
After the Android Eclipse SDK installation, when running the eclipse.exe from the adt-bundle-windows-x86_64 package you probably get the error in the image to the right:


Android Eclipse SDK installation: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations:

NO problem. Ussually this means you are running 32 bit java on a 64 bit system. because your browser is 32 bit so the SUN website automitically checks for 32 bit java only.
Most issues dissapear by simply installing 64 bit java. If not, just follow these steps:

FOR 64 bit systems:
screenshot java 64 bit installed
  1. Check if you have latest 64 bit java installed
    1. Start --> control panel --> programs [see screenshot]
  2. If yes, all you have to do is add the following code to your eclipse.ini file:
  3. -vm
    [location of your javaw.exe] for me this is: D:\TempPrograms\Java\bin\javaw.exe
    If not, go to: http://java.com/en/download/manual.jsp for manual java download and install 64 bit java
  4. Done!

FOR 32 bit systems:

  1. Check if you have latest 32 bit java installed
    1. go to java website: http://java.com/en/download/installed.jsp
  2. If yes, all you have to do is add the following code to your eclipse.ini file:
  3. -vm
    [location of your javaw.exe] for me this is: D:\TempPrograms\Java\bin\javaw.exe

  4. Done!
This concludes the Android Eclipse SDK installation.

No comments:

Post a Comment