JVM variable not set correctly enough for Android Studio

1

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.

user5767529

Posted 2016-04-01T20:44:09.593

Reputation: 11

Android Studio requires Microsoft® Windows® 8/7/Vista (32- or 64-bit) (from https://developer.android.com/sdk/index.html#Requirements)

– DavidPostill – 2016-04-02T12:24:25.157

Answers

0

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.

Note:

  • Android Studio is not supported on Windows XP

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

Source System Requirements

DavidPostill

Posted 2016-04-01T20:44:09.593

Reputation: 118 938