Having trouble firing up android studio. I get the following message: The environment variable JAVA_HOME (with the value of ?C:\Program Files\Java\jdk1.7.0_79\jre and every other variation I can guess) does not point to a valid JVM installation. I am trying to do this on a windows xp desktop. I just installed Android Studio and the jdk file today.


The environment variable JAVA_HOME does not point to a valid JVM installation

JAVA_HOME should be set to the root of your Java installation.

set JAVA_HOME="C:\Program Files\Java\jdk1.7.0_79\

or add this value to the system environment variables.

See What are PATH and other environment variables, and how can I set or use them? for more information.


  • Android Studio is not supported on Windows XP

Microsoft® Windows® 8/7/Vista (32- or 64-bit)

Source System Requirements

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.