Link to home
Start Free TrialLog in
Avatar of LEECHIPTURNER
LEECHIPTURNER

asked on

Getting Errors when Trying to Run Eclipse to start Dev for Android phone

I'm trying to setup my windows vista pc to start development on apps for the Android mobile OS.  Unfortunately, I'm running into issues even getting the dev kit setup.  I've installed Eclipse and the Android SDK and I definitely have JDK installed.  I actually had multiple versions of it installed, so I uninstalled the oldest to make sure I only had one copy.

But whenever I run Eclipse I am getting the following error:
"a java runtime environment (JRE) or Java development kit (JDK) must be avalable in order to run Eclipse.  No Java virtual machine was found after searching the following locations: C:\User\Zoracle\Desktop\Projects\Android\eclipse\jre\bin\javaw.exe javaw.exe in your current PATH"

I've attached a pic of the error message along with my javaSoft registry.  I can't seem to figure out where this PATH is and have tried many things, please help.
User generated image
Avatar of Dushyant Sharma
Dushyant Sharma
Flag of India image

the jre being used is different. must be for android. set you path again for standard jre. also you can try setting JAVA_HOME environment variable.
Avatar of LEECHIPTURNER
LEECHIPTURNER

ASKER

How do I know which JRE to install?  And how do I change this mysterious PATH?  I don't know where that is set.  
you can download the standard jre from java site.

for setting PATH you need to set system/user variables.
I'm pretty sure I've already DLed that, to be sure, I searched jre standard download in google and DLed this version of JRE: http://java.com/en/download/ie_manual.jsp?locale=en&host=java.com

Hope that's the right one.  As for the PATH setting, still don't know where that is.  Let's pretend I have know idea about java, eclipse, or programming at all, pretend of course.  ;)   And now explain to me what the PATH does and where I might find it.  Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Dushyant Sharma
Dushyant Sharma
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial