Friday 23 June 2017

Java Runtime Environment Must Be Available To Run Eclipse ~ GNIITHELP

When using the Android SDK Java Runtime Environment Must Be Available To Run Eclipse

Java Runtime Environment Must Be Available To Run Eclipse
Java Runtime Environment Must Be Available To Run Eclipse Screenhot
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:
Java Runtime Environment Must Be Available To Run Eclipse
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!
Now you should no more get the dreaded message: Java Runtime Environment Must Be Available To Run Eclipse.

No comments:

Post a Comment